Class DIOJNI

Direct Known Subclasses:
PWMJNI, RelayJNI

public class DIOJNI
extends JNIWrapper
  • Constructor Details

  • Method Details

    • initializeDIOPort

      public static int initializeDIOPort​(int halPortHandle, boolean input)
    • checkDIOChannel

      public static boolean checkDIOChannel​(int channel)
    • freeDIOPort

      public static void freeDIOPort​(int dioPortHandle)
    • setDIOSimDevice

      public static void setDIOSimDevice​(int handle, int device)
    • setDIO

      public static void setDIO​(int dioPortHandle, short value)
    • setDIODirection

      public static void setDIODirection​(int dioPortHandle, boolean input)
    • getDIO

      public static boolean getDIO​(int dioPortHandle)
    • getDIODirection

      public static boolean getDIODirection​(int dioPortHandle)
    • pulse

      public static void pulse​(int dioPortHandle, double pulseLength)
    • isPulsing

      public static boolean isPulsing​(int dioPortHandle)
    • isAnyPulsing

      public static boolean isAnyPulsing()
    • getLoopTiming

      public static short getLoopTiming()
    • allocateDigitalPWM

      public static int allocateDigitalPWM()
    • freeDigitalPWM

      public static void freeDigitalPWM​(int pwmGenerator)
    • setDigitalPWMRate

      public static void setDigitalPWMRate​(double rate)
    • setDigitalPWMDutyCycle

      public static void setDigitalPWMDutyCycle​(int pwmGenerator, double dutyCycle)
    • setDigitalPWMOutputChannel

      public static void setDigitalPWMOutputChannel​(int pwmGenerator, int channel)