public class HALUtil extends JNIWrapper
Modifier and Type | Field and Description |
---|---|
static int |
ANALOG_TRIGGER_PULSE_OUTPUT_ERROR |
static int |
INCOMPATIBLE_STATE |
static int |
LOOP_TIMING_ERROR |
static int |
NO_AVAILABLE_RESOURCES |
static int |
NULL_PARAMETER |
static int |
PARAMETER_OUT_OF_RANGE |
static int |
SAMPLE_RATE_TOO_HIGH |
static int |
VOLTAGE_OUT_OF_RANGE |
Constructor and Description |
---|
HALUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getFPGAButton() |
static int |
getFPGARevision() |
static long |
getFPGATime() |
static short |
getFPGAVersion() |
static int |
getHALErrno() |
static java.lang.String |
getHALErrorMessage(int code) |
static int |
getHALRuntimeType() |
static java.lang.String |
getHALstrerror() |
static java.lang.String |
getHALstrerror(int errno) |
getPort, getPortWithModule
public static final int NULL_PARAMETER
public static final int SAMPLE_RATE_TOO_HIGH
public static final int VOLTAGE_OUT_OF_RANGE
public static final int LOOP_TIMING_ERROR
public static final int INCOMPATIBLE_STATE
public static final int ANALOG_TRIGGER_PULSE_OUTPUT_ERROR
public static final int NO_AVAILABLE_RESOURCES
public static final int PARAMETER_OUT_OF_RANGE
public HALUtil()
public static short getFPGAVersion()
public static int getFPGARevision()
public static long getFPGATime()
public static int getHALRuntimeType()
public static boolean getFPGAButton()
public static java.lang.String getHALErrorMessage(int code)
public static int getHALErrno()
public static java.lang.String getHALstrerror(int errno)
public static java.lang.String getHALstrerror()