Skip to main content
Skip table of contents

DAQFactory for UD - Windows

DAQFactory 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.

DAQFactory is measurement and automation software from Azeotech.  For general information, go to the Azeotech website.

Getting Started

  1. Go through the DAQFactory for UD Quick Tutorial.

  2. Download and run the examples in the following section.

  3. For additional information, see the remainder of this page and the DAQFactory - LabJack Application Guide.

Examples

The first download below is an archive that contains all of the examples referenced in the DAQFactory - LabJack Application Guide. The other items are miscellaneous, additional examples.

DAQFactory Application Guide Examples.zip

AIN Differential U3.ctl

AIN Configuration U6.ctl

AIN Configuration UE9.ctl

EI1050 U3.ctl

EI1050 U6.ctl

EI1050 Double U6.ctl

EI1050 UE9.ctl

LJTDAC_Single.ctl

LJTDAC_Dual.ctl

Open-Collector_Output.ctl

Pulse _Out_Using_WAIT_U3U6.ctl

PWM_DAC_U3.ctl

QuickTutorial.ctl

RawIO.ctl

Simple PeriodIn32 Example.ctl

SPI.ctl

StreamOneChannel_UD.ctl

StreamFourChannels_UD.ctl

Thermocouple LJTIA U3.ctl

Thermocouple U6.ctl

Thermocouple UE9.ctl

U3_StreamTimerCounter.ctl

U6_StreamTimerCounter.ctl

U6_Simple_Asynchronous.ctl

UE9_StreamTimerCounter.ctl

Getting Help

LabJack support can help with some DAQFactory questions, but often the AzeoTech forum is the best resource.

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.

Functions

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

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.

Pseudocode

Device specific pseudocode can be found in the device datasheet pseudocode section (U3/U6/UE9).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.