com.labjack.labjackud
Class LJUD

java.lang.Object
  extended bycom.labjack.labjackud.LJUD
All Implemented Interfaces:
LJUDJavaConstants

public class LJUD
extends java.lang.Object
implements LJUDJavaConstants

The class LJUD provides the functionality found in the LabJackUD driver. Using this class static wrappers and the LJUDJava.dll provides a native interface to the UD driver. For more information on using the UD driver, refer to the LabJackUD.h header file or the U3/UE9 User's Guide at http://www.labjack.com/downloads.html. This class was created with SWIG (http://www.swig.org). Changes from going to C to Java: C constants and functions are static constants and functions in the LJUD class long variables are changed to int. For example, the C function long AddRequest(long Handle, long IOType, long Channel, double Value, long x1, double UserData) is int LJUD.AddRequest(int Handle, int IOType, int Channel, double Value, int x1, double UserData) in Java. C pointer parameters use arrays, except for input char * pararmeters that are now a String. For example, the C function OpenLabJack(long DeviceType, long ConnectionType, const char *pAddress, long FirstFound, LJ_HANDLE *pHandle) is LJUD.OpenLabJack(int DeviceType, int ConnectionType, String pAddress, int FirstFound, int[] pHandle) in Java. Access the value passed by a pointer by accessing the the first element in the array. If you were expecting an array back, then access it as you normally would. C functions that output a char * as a paramter now take a byte array. For example, The C function ErrorToString(LJ_ERROR ErrorCode, char *pString) is ErrorToString(int ErrorCode, byte[] pString) in Java. The C function AddRequest can accept char* or double* array for parameter x1, and the array receives values after a Go/GoOne and GetResults series of calls. This is not supported under Java, but the eGet and ePut with char* or double* array for parameter x1 is supported and provides the same functionality. Here is example code that uses the LJUD class to open the first found UE9 over USB, read AIN0 and print out the error string for LJE_NOERROR. Note that LJUD calls return an error and you should check them, but for the sake of simplicity this example does not. Also, you will need to import the com.labjack.labjackud.LJUD class and load the LJUDJava .dll to call the wrapper members like below. int []handle = {0}; double []value = {0}; byte []errString = new byte[255]; //Opening first found UE9 device. The OpenLabJack function gets a handle by a pointer. //For Java pass an int array of size 1. For following functions that take a handle, pass //the first element of the int array. LJUD.OpenLabJack(LJUD.LJ_dtUE9, LJUD.LJ_ctUSB, "1", 1, handle); //Configure for 16-bit analog input measurements. LJUD.ePut(handle[0], LJUD.LJ_ioPUT_CONFIG, LJUD.LJ_chAIN_RESOLUTION, 16, 0); //Configure the analog input range on channel 0 bipolar gain=1. LJUD.ePut(handle[0], LJUD.LJ_ioPUT_AIN_RANGE, 0, LJUD.LJ_rgBIP5V, 0); //Adding a request to read voltage from AIN0 LJUD.AddRequest(handle[0], LJUD.LJ_ioGET_AIN, 0, 0, 0, 0); //Execute the requests. LJUD.GoOne(handle[0]; //Get result of request LJUD.GetResult(handle[0], LJUD.LJ_ioGET_AIN, 0, value); System.out.println("AIN0 is " + value[0]); //Passing an ErrorCode of 0, which is the value of the LJUD.LJE_NOERROR constant LJUD.ErrorToString(0, errString); System.out.println("Error 0 is " + new String(errString)); If you have any suggestions, questions or comments please email us at support@labjack.com.


Field Summary
 
Fields inherited from interface com.labjack.labjackud.LJUDJavaConstants
LJ_chAIN_BINARY, LJ_chAIN_RESOLUTION, LJ_chAIN_SETTLING_TIME, LJ_chAIN_STREAM_SETTLING_TIME, LJ_chALL_CHANNELS, LJ_chASYNCH_BAUDFACTOR, LJ_chASYNCH_CONFIG, LJ_chASYNCH_ENABLE, LJ_chASYNCH_FLUSH, LJ_chASYNCH_RX, LJ_chASYNCH_TX, LJ_chBOOTLOADER_VERSION, LJ_chCAL_CONSTANTS, LJ_chCOMM_FIRMWARE_VERSION, LJ_chCOMM_POWER_LEVEL, LJ_chCOMMUNICATION_TIMEOUT, LJ_chCONTROL_BOOTLOADER_VERSION, LJ_chCONTROL_FIRMWARE_VERSION, LJ_chCONTROL_POWER_LEVEL, LJ_chCONTROL_RESET_SOURCE, LJ_chDAC_BINARY, LJ_chDHCP, LJ_chFIRMWARE_VERSION, LJ_chGATEWAY, LJ_chHARDWARE_VERSION, LJ_chI2C_ADDRESS, LJ_chI2C_ADDRESS_BYTE, LJ_chI2C_GET_ACKS, LJ_chI2C_OPTIONS, LJ_chI2C_READ, LJ_chI2C_SCL_PIN_NUM, LJ_chI2C_SDA_PIN_NUM, LJ_chI2C_SPEED_ADJUST, LJ_chI2C_WRITE, LJ_chI2C_WRITE_READ, LJ_chIP_ADDRESS, LJ_chLED_STATE, LJ_chLOCALID, LJ_chMACADDRESS, LJ_chNUMBER_TIMERS_ENABLED, LJ_chPORTA, LJ_chPORTB, LJ_chPRODUCTID, LJ_chSDA_SCL, LJ_chSERIAL_NUMBER, LJ_chSHT_CLOCK_CHANNEL, LJ_chSHT_DATA_CHANNEL, LJ_chSHT_RH, LJ_chSHT_TEMP, LJ_chSPI_AUTO_CS, LJ_chSPI_CLK_PIN_NUM, LJ_chSPI_CLOCK_FACTOR, LJ_chSPI_CS_PIN_NUM, LJ_chSPI_DISABLE_DIR_CONFIG, LJ_chSPI_MISO_PIN_NUM, LJ_chSPI_MODE, LJ_chSPI_MOSI_PIN_NUM, LJ_chSTREAM_BACKLOG_COMM, LJ_chSTREAM_BACKLOG_CONTROL, LJ_chSTREAM_BACKLOG_UD, LJ_chSTREAM_BUFFER_SIZE, LJ_chSTREAM_CLOCK_OUTPUT, LJ_chSTREAM_COMMUNICATION_TIMEOUT, LJ_chSTREAM_DISABLE_AUTORECOVERY, LJ_chSTREAM_EXTERNAL_TRIGGER, LJ_chSTREAM_READS_PER_SECOND, LJ_chSTREAM_SAMPLES_PER_PACKET, LJ_chSTREAM_SCAN_FREQUENCY, LJ_chSTREAM_WAIT_MODE, LJ_chSUBNET, LJ_chSWDT_DAC_ENABLE, LJ_chSWDT_DAC0, LJ_chSWDT_DAC1, LJ_chSWDT_DIOA_CHANNEL, LJ_chSWDT_DIOA_STATE, LJ_chSWDT_DIOB_CHANNEL, LJ_chSWDT_DIOB_STATE, LJ_chSWDT_DISABLE, LJ_chSWDT_ENABLE, LJ_chSWDT_RESET_COMM, LJ_chSWDT_RESET_CONTROL, LJ_chSWDT_RESET_DEVICE, LJ_chSWDT_UDPATE_DIOA, LJ_chSWDT_UPDATE_DAC0, LJ_chSWDT_UPDATE_DAC1, LJ_chSWDT_UPDATE_DIOB, LJ_chTDAC_READ_CAL_CONSTANTS, LJ_chTDAC_READ_USER_MEM, LJ_chTDAC_SCL_PIN_NUM, LJ_chTDAC_SERIAL_NUMBER, LJ_chTDAC_UPDATE_DACA, LJ_chTDAC_UPDATE_DACB, LJ_chTDAC_WRITE_CAL_CONSTANTS, LJ_chTDAC_WRITE_USER_MEM, LJ_chTIMER_CLOCK_BASE, LJ_chTIMER_CLOCK_CONFIG, LJ_chTIMER_CLOCK_DIVISOR, LJ_chTIMER_COUNTER_PIN_OFFSET, LJ_chU3HV, LJ_chU6_PRO, LJ_chUE9_PRO, LJ_chUSB_STRINGS, LJ_chUSER_MEM, LJ_ctETHERNET, LJ_ctETHERNET_MB, LJ_ctETHERNET_RAW, LJ_ctUSB, LJ_ctUSB_RAW, LJ_dtU3, LJ_dtU6, LJ_dtUE9, LJ_ecDISCONNECT, LJ_ecRECONNECT, LJ_ecSTREAMERROR, LJ_INVALID_CONSTANT, LJ_ioADD_STREAM_CHANNEL, LJ_ioADD_STREAM_CHANNEL_DIFF, LJ_ioADD_STREAM_DAC, LJ_ioANALOG_INPUT, LJ_ioANALOG_OUTPUT, LJ_ioASYNCH_COMMUNICATION, LJ_ioBUZZER, LJ_ioCLEAR_STREAM_CHANNELS, LJ_ioCOUNTER, LJ_ioCYCLE_PORT, LJ_ioDIGITAL_BIT_IN, LJ_ioDIGITAL_BIT_OUT, LJ_ioDIGITAL_PORT_IN, LJ_ioDIGITAL_PORT_OUT, LJ_ioENABLE_NEG_PULLDOWN, LJ_ioENABLE_POS_PULLDOWN, LJ_ioGET_AIN, LJ_ioGET_AIN_ADVANCED, LJ_ioGET_AIN_DIFF, LJ_ioGET_AIN_RANGE, LJ_ioGET_ANALOG_ENABLE_BIT, LJ_ioGET_ANALOG_ENABLE_PORT, LJ_ioGET_CAL_CONSTANTS, LJ_ioGET_CONFIG, LJ_ioGET_COUNTER, LJ_ioGET_COUNTER_ENABLE, LJ_ioGET_COUNTER_MODE, LJ_ioGET_DAC_ENABLE, LJ_ioGET_DIGITAL_BIT, LJ_ioGET_DIGITAL_BIT_DIR, LJ_ioGET_DIGITAL_BIT_STATE, LJ_ioGET_DIGITAL_PORT, LJ_ioGET_DIGITAL_PORT_DIR, LJ_ioGET_DIGITAL_PORT_STATE, LJ_ioGET_STREAM_DATA, LJ_ioGET_TIMER, LJ_ioGET_TIMER_MODE, LJ_ioGET_TIMER_VALUE, LJ_ioGET_USB_STRINGS, LJ_ioGET_USER_MEM, LJ_ioI2C_COMMUNICATION, LJ_ioPIN_CONFIGURATION_RESET, LJ_ioPUT_AIN_RANGE, LJ_ioPUT_ANALOG_ENABLE_BIT, LJ_ioPUT_ANALOG_ENABLE_PORT, LJ_ioPUT_CAL_CONSTANTS, LJ_ioPUT_CONFIG, LJ_ioPUT_COUNTER_ENABLE, LJ_ioPUT_COUNTER_MODE, LJ_ioPUT_COUNTER_RESET, LJ_ioPUT_DAC, LJ_ioPUT_DAC_ENABLE, LJ_ioPUT_DIGITAL_BIT, LJ_ioPUT_DIGITAL_PORT, LJ_ioPUT_TIMER_MODE, LJ_ioPUT_TIMER_VALUE, LJ_ioPUT_USB_STRINGS, LJ_ioPUT_USER_MEM, LJ_ioPUT_WAIT, LJ_ioRAW_IN, LJ_ioRAW_OUT, LJ_ioSET_DEFAULTS, LJ_ioSET_EVENT_CALLBACK, LJ_ioSET_STREAM_CALLBACK, LJ_ioSHT_CLOCK_CHANNEL, LJ_ioSHT_DATA_CHANNEL, LJ_ioSHT_GET_READING, LJ_ioSPI_COMMUNICATION, LJ_ioSTART_STREAM, LJ_ioSTOP_STREAM, LJ_ioSWDT_CONFIG, LJ_ioTDAC_COMMUNICATION, LJ_ioTIMER, LJ_rgAUTO, LJ_rgBIP10V, LJ_rgBIP1P25V, LJ_rgBIP1V, LJ_rgBIP20V, LJ_rgBIP2P5V, LJ_rgBIP2V, LJ_rgBIP4V, LJ_rgBIP5V, LJ_rgBIPP01v, LJ_rgBIPP1V, LJ_rgBIPP625V, LJ_rgUNI10V, LJ_rgUNI1P25V, LJ_rgUNI1V, LJ_rgUNI20V, LJ_rgUNI2P5V, LJ_rgUNI2V, LJ_rgUNI4V, LJ_rgUNI5V, LJ_rgUNIP0025V, LJ_rgUNIP025V, LJ_rgUNIP25V, LJ_rgUNIP3125V, LJ_rgUNIP500V, LJ_rgUNIP5V, LJ_rgUNIP625V, LJ_swALL_OR_NONE, LJ_swNONE, LJ_swPUMP, LJ_swSLEEP, LJ_tc12MHZ, LJ_tc12MHZ_DIV, LJ_tc1MHZ_DIV, LJ_tc24MHZ, LJ_tc24MHZ_DIV, LJ_tc2MHZ, LJ_tc2MHZ_DIV, LJ_tc48MHZ, LJ_tc48MHZ_DIV, LJ_tc4MHZ, LJ_tc4MHZ_DIV, LJ_tc500KHZ_DIV, LJ_tc6MHZ, LJ_tc6MHZ_DIV, LJ_tc750KHZ, LJ_tcSYS, LJ_tmDUTYCYCLE, LJ_tmFALLINGEDGES16, LJ_tmFALLINGEDGES32, LJ_tmFIRMCOUNTER, LJ_tmFIRMCOUNTERDEBOUNCE, LJ_tmFREQOUT, LJ_tmPWM16, LJ_tmPWM8, LJ_tmQUAD, LJ_tmRISINGEDGES16, LJ_tmRISINGEDGES32, LJ_tmSYSTIMERHIGH, LJ_tmSYSTIMERLOW, LJ_tmTIMERSTOP, LJ_ttB, LJ_ttE, LJ_ttJ, LJ_ttK, LJ_ttN, LJ_ttR, LJ_ttS, LJ_ttT, LJE_AD_PIN_CONFIGURATION_ERROR, LJE_ADC0_BUFFER_OVERFLOW, LJE_AIN_WHILE_STREAMING, LJE_BUFFER_OVERRUN, LJE_CANT_CONFIGURE_PIN_FOR_ANALOG, LJE_CANT_CONFIGURE_PIN_FOR_DIGITAL, LJE_CHECKSUM_ERROR, LJE_COMM_FAILURE, LJE_COMM_TIMEOUT, LJE_DATA_BUFFER_OVERFLOW, LJE_DEVICE_ALREADY_OPEN, LJE_DEVICE_NOT_CALIBRATED, LJE_DEVICE_NOT_OPEN, LJE_DISCONNECT, LJE_EXT_OSC_NOT_STABLE, LJE_FEEDBACK_IOTYPE_NOT_VALID, LJE_FIRMWARE_VERSION_CHANNEL, LJE_FIRMWARE_VERSION_IOTYPE, LJE_FIRMWARE_VERSION_VALUE, LJE_FLASH_ERROR, LJE_FUNCTION_INVALID, LJE_HARDWARE_VERSION_CHANNEL, LJE_HARDWARE_VERSION_IOTYPE, LJE_HARDWARE_VERSION_VALUE, LJE_INVALID_AIN_RANGE, LJE_INVALID_CHANNEL_NUMBER, LJE_INVALID_CONNECTION_TYPE, LJE_INVALID_DEVICE_TYPE, LJE_INVALID_DIFFERENTIAL_CHANNEL, LJE_INVALID_HANDLE, LJE_INVALID_MODE, LJE_INVALID_OFFSET, LJE_INVALID_PARAMETER, LJE_INVALID_PIN, LJE_INVALID_POWER_SETTING, LJE_INVALID_RAW_INOUT_PARAMETER, LJE_INVALID_STREAM_FREQUENCY, LJE_IOTYPE_SYNCH_ERROR, LJE_LABJACK_NOT_FOUND, LJE_LJTDAC_ACK_ERROR, LJE_MAX_USER_ERROR, LJE_MIN_GROUP_ERROR, LJE_MIN_USER_ERROR, LJE_NO_DATA_AVAILABLE, LJE_NO_MORE_DATA_AVAILABLE, LJE_NOERROR, LJE_NOTHING_TO_STREAM, LJE_PLL_NOT_LOCKED, LJE_RECONNECT, LJE_REQUEST_NOT_PROCESSED, LJE_SCRATCH_ERROR, LJE_SHT_ACK, LJE_SHT_COMMUNICATION, LJE_SHT_CRC, LJE_SHT_MEASREADY, LJE_SHT_SERIAL_RESET, LJE_STREAM_ADC0_BUFFER_OVERFLOW, LJE_STREAM_BAD_TRIGGER_SOURCE, LJE_STREAM_BIPOLAR_GAIN_INVALID, LJE_STREAM_CHECKSUM_ERROR, LJE_STREAM_COMMAND_ERROR, LJE_STREAM_CONFIG_INVALID, LJE_STREAM_CONTROL_BUFFER_OVERFLOW, LJE_STREAM_INVALID_TRIGGER, LJE_STREAM_IS_ACTIVE, LJE_STREAM_NOT_RUNNING, LJE_STREAM_ORDER_ERROR, LJE_STREAM_SAMPLE_NUM_INVALID, LJE_STREAM_SCAN_OVERLAP, LJE_STREAM_SCAN_RATE_INVALID, LJE_STREAM_TABLE_INVALID, LJE_STREAM_TIMEOUT, LJE_SWDT_TIME_INVALID, LJE_TC_PIN_OFFSET_MUST_BE_4_TO_8, LJE_TIMER_BAD_CLOCK_SOURCE, LJE_TIMER_INVALID_MODE, LJE_TIMER_LINE_SEQUENCE_ERROR, LJE_TIMER_PWMSTOP_MODULE_ERROR, LJE_TIMER_QUAD_PULSE_SEQUENCE, LJE_TIMER_QUADRATURE_AB_ERROR, LJE_TIMER_SEQUENCE_ERROR, LJE_TIMER_SHARING_ERROR, LJE_TIMER_STREAM_ACTIVE, LJE_UNABLE_TO_CONFIG_STREAM, LJE_UNABLE_TO_READ_CALDATA, LJE_UNABLE_TO_START_STREAM, LJE_UNABLE_TO_STOP_STREAM, LJE_UNKNOWN_ERROR, LJE_USB_DRIVER_NOT_FOUND, LJUDJAVA_VERSION
 
Constructor Summary
LJUD()
           
 
Method Summary
static int AddRequest(int Handle, int IOType, int Channel, double Value, int x1, double UserData)
           
static int AddRequestS(int Handle, java.lang.String pIOType, int Channel, double Value, int x1, double UserData)
           
static int AddRequestSS(int Handle, java.lang.String pIOType, java.lang.String pChannel, double Value, int x1, double UserData)
           
static int DoubleToStringAddress(double Number, byte[] pString, int HexDot)
           
static int eAddGoGet(int Handle, int NumRequests, int[] aIOTypes, int[] aChannels, double[] aValues, int[] ax1s, int[] aRequestErrors, int[] GoError, int[] aResultErrors)
           
static int eAIN(int Handle, int ChannelP, int ChannelN, double[] Voltage, int Range, int Resolution, int Settling, int Binary, int Reserved1, int Reserved2)
           
static int eDAC(int Handle, int Channel, double Voltage, int Binary, int Reserved1, int Reserved2)
           
static int eDI(int Handle, int Channel, int[] State)
           
static int eDO(int Handle, int Channel, int State)
           
static int eGet(int Handle, int IOType, int Channel, double[] pValue, byte[] x1)
           
static int eGet(int Handle, int IOType, int Channel, double[] pValue, double[] x1)
           
static int eGet(int Handle, int IOType, int Channel, double[] pValue, int x1)
           
static int eGetS(int Handle, java.lang.String pIOType, int Channel, double[] pValue, int x1)
           
static int eGetSS(int Handle, java.lang.String pIOType, java.lang.String pChannel, double[] pValue, int x1)
           
static int ePut(int Handle, int IOType, int Channel, double Value, byte[] x1)
           
static int ePut(int Handle, int IOType, int Channel, double Value, double[] x1)
           
static int ePut(int Handle, int IOType, int Channel, double Value, int x1)
           
static int ePutS(int Handle, java.lang.String pIOType, int Channel, double Value, int x1)
           
static int ePutSS(int Handle, java.lang.String pIOType, java.lang.String pChannel, double Value, int x1)
           
static void ErrorToString(int ErrorCode, byte[] pString)
           
static int eTCConfig(int Handle, int[] aEnableTimers, int[] aEnableCounters, int TCPinOffset, int TimerClockBaseIndex, int TimerClockDivisor, int[] aTimerModes, double[] aTimerValues, int Reserved1, int Reserved2)
           
static int eTCValues(int Handle, int[] aReadTimers, int[] aUpdateResetTimers, int[] aReadCounters, int[] aResetCounters, double[] aTimerValues, double[] aCounterValues, int Reserved1, int Reserved2)
           
static double GetDriverVersion()
           
static int GetFirstResult(int Handle, int[] pIOType, int[] pChannel, double[] pValue, int[] px1, double[] pUserData)
           
static int GetNextError(int Handle, int[] pIOType, int[] pChannel)
           
static int GetNextResult(int Handle, int[] pIOType, int[] pChannel, double[] pValue, int[] px1, double[] pUserData)
           
static int GetResult(int Handle, int IOType, int Channel, double[] pValue)
           
static int GetResultS(int Handle, java.lang.String pIOType, int Channel, double[] pValue)
           
static int GetResultSS(int Handle, java.lang.String pIOType, java.lang.String pChannel, double[] pValue)
           
static int GetStreamError(int Handle)
           
static int Go()
           
static int GoOne(int Handle)
           
static int ListAll(int DeviceType, int ConnectionType, int[] pNumFound, int[] pSerialNumbers, int[] pIDs, double[] pAddresses)
           
static int ListAllS(java.lang.String pDeviceType, java.lang.String pConnectionType, int[] pNumFound, int[] pSerialNumbers, int[] pIDs, double[] pAddresses)
           
static int OpenLabJack(int DeviceType, int ConnectionType, java.lang.String pAddress, int FirstFound, int[] pHandle)
           
static int OpenLabJackS(java.lang.String pDeviceType, java.lang.String pConnectionType, java.lang.String pAddress, int FirstFound, int[] pHandle)
           
static int ResetLabJack(int Handle)
           
static int StringToConstant(java.lang.String pString)
           
static int StringToDoubleAddress(java.lang.String pString, double[] pNumber, int HexDot)
           
static int TCVoltsToTemp(int TCType, double TCVolts, double CJTempK, double[] pTCTempK)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LJUD

public LJUD()
Method Detail

ListAll

public static int ListAll(int DeviceType,
                          int ConnectionType,
                          int[] pNumFound,
                          int[] pSerialNumbers,
                          int[] pIDs,
                          double[] pAddresses)

ListAllS

public static int ListAllS(java.lang.String pDeviceType,
                           java.lang.String pConnectionType,
                           int[] pNumFound,
                           int[] pSerialNumbers,
                           int[] pIDs,
                           double[] pAddresses)

OpenLabJack

public static int OpenLabJack(int DeviceType,
                              int ConnectionType,
                              java.lang.String pAddress,
                              int FirstFound,
                              int[] pHandle)

OpenLabJackS

public static int OpenLabJackS(java.lang.String pDeviceType,
                               java.lang.String pConnectionType,
                               java.lang.String pAddress,
                               int FirstFound,
                               int[] pHandle)

AddRequest

public static int AddRequest(int Handle,
                             int IOType,
                             int Channel,
                             double Value,
                             int x1,
                             double UserData)

AddRequestS

public static int AddRequestS(int Handle,
                              java.lang.String pIOType,
                              int Channel,
                              double Value,
                              int x1,
                              double UserData)

AddRequestSS

public static int AddRequestSS(int Handle,
                               java.lang.String pIOType,
                               java.lang.String pChannel,
                               double Value,
                               int x1,
                               double UserData)

Go

public static int Go()

GoOne

public static int GoOne(int Handle)

eGet

public static int eGet(int Handle,
                       int IOType,
                       int Channel,
                       double[] pValue,
                       int x1)

eGet

public static int eGet(int Handle,
                       int IOType,
                       int Channel,
                       double[] pValue,
                       byte[] x1)

eGet

public static int eGet(int Handle,
                       int IOType,
                       int Channel,
                       double[] pValue,
                       double[] x1)

eGetS

public static int eGetS(int Handle,
                        java.lang.String pIOType,
                        int Channel,
                        double[] pValue,
                        int x1)

eGetSS

public static int eGetSS(int Handle,
                         java.lang.String pIOType,
                         java.lang.String pChannel,
                         double[] pValue,
                         int x1)

ePut

public static int ePut(int Handle,
                       int IOType,
                       int Channel,
                       double Value,
                       int x1)

ePut

public static int ePut(int Handle,
                       int IOType,
                       int Channel,
                       double Value,
                       byte[] x1)

ePut

public static int ePut(int Handle,
                       int IOType,
                       int Channel,
                       double Value,
                       double[] x1)

ePutS

public static int ePutS(int Handle,
                        java.lang.String pIOType,
                        int Channel,
                        double Value,
                        int x1)

ePutSS

public static int ePutSS(int Handle,
                         java.lang.String pIOType,
                         java.lang.String pChannel,
                         double Value,
                         int x1)

GetResult

public static int GetResult(int Handle,
                            int IOType,
                            int Channel,
                            double[] pValue)

GetResultS

public static int GetResultS(int Handle,
                             java.lang.String pIOType,
                             int Channel,
                             double[] pValue)

GetResultSS

public static int GetResultSS(int Handle,
                              java.lang.String pIOType,
                              java.lang.String pChannel,
                              double[] pValue)

GetFirstResult

public static int GetFirstResult(int Handle,
                                 int[] pIOType,
                                 int[] pChannel,
                                 double[] pValue,
                                 int[] px1,
                                 double[] pUserData)

GetNextResult

public static int GetNextResult(int Handle,
                                int[] pIOType,
                                int[] pChannel,
                                double[] pValue,
                                int[] px1,
                                double[] pUserData)

eAIN

public static int eAIN(int Handle,
                       int ChannelP,
                       int ChannelN,
                       double[] Voltage,
                       int Range,
                       int Resolution,
                       int Settling,
                       int Binary,
                       int Reserved1,
                       int Reserved2)

eDAC

public static int eDAC(int Handle,
                       int Channel,
                       double Voltage,
                       int Binary,
                       int Reserved1,
                       int Reserved2)

eDI

public static int eDI(int Handle,
                      int Channel,
                      int[] State)

eDO

public static int eDO(int Handle,
                      int Channel,
                      int State)

eAddGoGet

public static int eAddGoGet(int Handle,
                            int NumRequests,
                            int[] aIOTypes,
                            int[] aChannels,
                            double[] aValues,
                            int[] ax1s,
                            int[] aRequestErrors,
                            int[] GoError,
                            int[] aResultErrors)

eTCConfig

public static int eTCConfig(int Handle,
                            int[] aEnableTimers,
                            int[] aEnableCounters,
                            int TCPinOffset,
                            int TimerClockBaseIndex,
                            int TimerClockDivisor,
                            int[] aTimerModes,
                            double[] aTimerValues,
                            int Reserved1,
                            int Reserved2)

eTCValues

public static int eTCValues(int Handle,
                            int[] aReadTimers,
                            int[] aUpdateResetTimers,
                            int[] aReadCounters,
                            int[] aResetCounters,
                            double[] aTimerValues,
                            double[] aCounterValues,
                            int Reserved1,
                            int Reserved2)

ResetLabJack

public static int ResetLabJack(int Handle)

GetNextError

public static int GetNextError(int Handle,
                               int[] pIOType,
                               int[] pChannel)

GetStreamError

public static int GetStreamError(int Handle)

DoubleToStringAddress

public static int DoubleToStringAddress(double Number,
                                        byte[] pString,
                                        int HexDot)

StringToDoubleAddress

public static int StringToDoubleAddress(java.lang.String pString,
                                        double[] pNumber,
                                        int HexDot)

StringToConstant

public static int StringToConstant(java.lang.String pString)

ErrorToString

public static void ErrorToString(int ErrorCode,
                                 byte[] pString)

GetDriverVersion

public static double GetDriverVersion()

TCVoltsToTemp

public static int TCVoltsToTemp(int TCType,
                                double TCVolts,
                                double CJTempK,
                                double[] pTCTempK)