DAQFactory for UD - Windows
The Windows UD library is the high-level Windows library/driver for the LabJack U3, U6 and UE9. For the U12, refer to DAQFactory for U12, and for T-Series devices, refer to DAQFactory for LJM.
DAQFactory is measurement and automation software from AzeoTech. For general information, go to the AzeoTech website.
Getting Started
Go through the DAQFactory User Guide.
Download and run the examples found in the DAQFactory Download, or the examples found here.
Examples
LabJack UD examples can be found with the DAQFactory download. Here are some additional examples.
Scripting Overivew
First, read the general overview of the UD library. Then, read the section on UD Scripting in the DAQFactory User Guide.
Functions
In DAQFactory, 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.
Parameters
DAQFactoryâs Function Reference is useful, but here is a list of the common parameters used in scripting:
D#: Device number you assigned in the configurator or was returned by OpenLabJack().
IOType: Can be the constants for a particular task
Channel: Can be the constants for a particular task
Value: Since DAQFactory does not support indirect pointers the Value parameter only hold values used for setting outputs or parameters
X1: Since DAQFactory does not support indirect pointers the x1 parameter only holds values used for setting outputs or parameters
UserData: Usually not used.
Pseudocode
Device specific pseudocode can be found in the device datasheet pseudocode section (U3/U6/UE9).
Getting Help
LabJack support can help with some DAQFactory questions, but often the AzeoTech forum is the best resource.