VEE for UD - Windows | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver


VEE for UD - Windows

Keysight VEE examples for the Windows UD library. The Windows UD library is the high-level Windows library/driver for the LabJack U3, U6 and UE9. For other LabJack devices, go to the Software page.

Refer to the text file in the .zip for more information.

Updated December 1, 2010: Added I2C and Tick-DAC examples. Requires UD driver 3.24+ to work.

Note: Keysight used to be Aligent Technologies, so this download may contain references to Aligent.


UD Examples Overview (Referencable)

UD Library Overview

First read the general overview of the UD library:

The UD driver has a handful of functions, many with the same 4 to 6 parameters.


The main functions are used to build a list of requests (Add), execute the list (Go), and read the result of each request (Get).  Some functions (e.g. eGet) combine a single add/go/get into one function call.


The parameters are described at the bottom of the Overview page.  The meaning of each parameter should be apparent (e.g. Channel is the channel number you are operating on), but when it is not the pseudocode section of the device's datasheet has the extra information needed.

  • Handle:  Always the handle.
  • IOType:  Always the IOType.
  • Channel:  If something besides a channel number the pseudocode section will tell you.
  • Value:  Always the value.
  • X1:  Usually not used, but if used the pseudocode section will tell you.
  • UserData:  Usually not used, but if used the pseudocode section will tell you.


Device specific pseudocode can be found in datasheet section 4.3:


File Attachment: 


If i use "OpenLabJackS" call and eDo funtion to set FOI0 and FO01 high .

After 20 minute , i have reset on both I/O .i lost the state of I/O.

How do i stay with the connection i did only one time "OpenLabJackS"   .? Do i need tp refresh with same parameter periodically?

Are you saying you do:

eDigitalOut (works)
Every 20 Minutes:
    eDigitalOut (returns error)

What error do you get?  Ethernet or USB?

How about if instead you do:

eDigitalOut (works)
Every 1 second:
    eDigitalOut (returns error)

... or:

eDigitalOut (works)
Every 20 Minutes:
    eDigitalOut (returns error)