Class AnalogJNI

    • Constructor Detail

      • AnalogJNI

        public AnalogJNI()
    • Method Detail

      • initializeAnalogInputPort

        public static int initializeAnalogInputPort​(int halPortHandle)
      • freeAnalogInputPort

        public static void freeAnalogInputPort​(int portHandle)
      • initializeAnalogOutputPort

        public static int initializeAnalogOutputPort​(int halPortHandle)
      • freeAnalogOutputPort

        public static void freeAnalogOutputPort​(int portHandle)
      • checkAnalogModule

        public static boolean checkAnalogModule​(byte module)
      • checkAnalogInputChannel

        public static boolean checkAnalogInputChannel​(int channel)
      • checkAnalogOutputChannel

        public static boolean checkAnalogOutputChannel​(int channel)
      • setAnalogOutput

        public static void setAnalogOutput​(int portHandle,
                                           double voltage)
      • getAnalogOutput

        public static double getAnalogOutput​(int portHandle)
      • setAnalogSampleRate

        public static void setAnalogSampleRate​(double samplesPerSecond)
      • getAnalogSampleRate

        public static double getAnalogSampleRate()
      • setAnalogAverageBits

        public static void setAnalogAverageBits​(int analogPortHandle,
                                                int bits)
      • getAnalogAverageBits

        public static int getAnalogAverageBits​(int analogPortHandle)
      • setAnalogOversampleBits

        public static void setAnalogOversampleBits​(int analogPortHandle,
                                                   int bits)
      • getAnalogOversampleBits

        public static int getAnalogOversampleBits​(int analogPortHandle)
      • getAnalogValue

        public static short getAnalogValue​(int analogPortHandle)
      • getAnalogAverageValue

        public static int getAnalogAverageValue​(int analogPortHandle)
      • getAnalogVoltsToValue

        public static int getAnalogVoltsToValue​(int analogPortHandle,
                                                double voltage)
      • getAnalogVoltage

        public static double getAnalogVoltage​(int analogPortHandle)
      • getAnalogAverageVoltage

        public static double getAnalogAverageVoltage​(int analogPortHandle)
      • getAnalogLSBWeight

        public static int getAnalogLSBWeight​(int analogPortHandle)
      • getAnalogOffset

        public static int getAnalogOffset​(int analogPortHandle)
      • isAccumulatorChannel

        public static boolean isAccumulatorChannel​(int analogPortHandle)
      • initAccumulator

        public static void initAccumulator​(int analogPortHandle)
      • resetAccumulator

        public static void resetAccumulator​(int analogPortHandle)
      • setAccumulatorCenter

        public static void setAccumulatorCenter​(int analogPortHandle,
                                                int center)
      • setAccumulatorDeadband

        public static void setAccumulatorDeadband​(int analogPortHandle,
                                                  int deadband)
      • getAccumulatorValue

        public static long getAccumulatorValue​(int analogPortHandle)
      • getAccumulatorCount

        public static int getAccumulatorCount​(int analogPortHandle)
      • getAccumulatorOutput

        public static void getAccumulatorOutput​(int analogPortHandle,
                                                AccumulatorResult result)
      • initializeAnalogTrigger

        public static int initializeAnalogTrigger​(int analogInputHandle,
                                                  IntBuffer index)
      • cleanAnalogTrigger

        public static void cleanAnalogTrigger​(int analogTriggerHandle)
      • setAnalogTriggerLimitsRaw

        public static void setAnalogTriggerLimitsRaw​(int analogTriggerHandle,
                                                     int lower,
                                                     int upper)
      • setAnalogTriggerLimitsVoltage

        public static void setAnalogTriggerLimitsVoltage​(int analogTriggerHandle,
                                                         double lower,
                                                         double upper)
      • setAnalogTriggerAveraged

        public static void setAnalogTriggerAveraged​(int analogTriggerHandle,
                                                    boolean useAveragedValue)
      • setAnalogTriggerFiltered

        public static void setAnalogTriggerFiltered​(int analogTriggerHandle,
                                                    boolean useFilteredValue)
      • getAnalogTriggerInWindow

        public static boolean getAnalogTriggerInWindow​(int analogTriggerHandle)
      • getAnalogTriggerTriggerState

        public static boolean getAnalogTriggerTriggerState​(int analogTriggerHandle)
      • getAnalogTriggerOutput

        public static boolean getAnalogTriggerOutput​(int analogTriggerHandle,
                                                     int type)