Table Of Contents
1. Installation on Windows ...........................................................................................................7
1.1 Control Panel Application (LJControlPanel) .......................................................................7
1.2 Self-Upgrade Application (LJSelfUpgrade).......................................................................10
2. Hardware Description.............................................................................................................12
2.1 USB ..................................................................................................................................12
2.2 Status LED .......................................................................................................................13
2.3 GND and SGND ...............................................................................................................13
2.4 Vs .....................................................................................................................................13
2.5 Flexible I/O (FIO/EIO).......................................................................................................13
2.6 AIN....................................................................................................................................14
2.6.1 Channel Numbers ......................................................................................................15
2.6.2 Converting Binary Readings to Voltages ...................................................................15
2.6.3 Typical Analog Input Connections .............................................................................17
2.6.4 Internal Temperature Sensor .....................................................................................23
2.7 DAC ..................................................................................................................................23
2.7.1 Typical Analog Output Connections............................................................................24
2.8 Digital I/O..........................................................................................................................25
2.8.1 Typical Digital I/O Connections...................................................................................26
2.9 Timers/Counters ...............................................................................................................30
2.9.1 Timer Mode Descriptions ............................................................................................32
2.9.2 Timer Operation/Performance Notes ..........................................................................36
2.10 SCL and SDA (or SCA) ..................................................................................................36
2.11 DB15...............................................................................................................................36
2.11.1 CB15 Terminal Board ...............................................................................................37
2.11.2 RB12 Relay Board ....................................................................................................37
2.12 U3-OEM..........................................................................................................................38
2.13 Hardware Revision Notes...............................................................................................39
3. Operation ...............................................................................................................................40
3.1 Command/Response........................................................................................................40
3.2 Stream Mode ....................................................................................................................42
3.2.1 Streaming Digital Inputs, Timers, and Counter0 .........................................................43
4. LabJackUD High-Level Driver................................................................................................44
4.1 Overview...........................................................................................................................44
4.1.1 Function Flexibility .....................................................................................................45
4.1.2 Multi-Threaded Operation ..........................................................................................46
4.2 Function Reference ..........................................................................................................48
4.2.1 ListAll().......................................................................................................................48
4.2.2 OpenLabJack() ..........................................................................................................49
4.2.3 eGet() and ePut() .......................................................................................................50
4.2.4 eAddGoGet()..............................................................................................................51
4.2.5 AddRequest().............................................................................................................51
4.2.6 Go()............................................................................................................................52
4.2.7 GoOne() .....................................................................................................................53
4.2.8 GetResult().................................................................................................................53
4.2.9 GetFirstResult() and GetNextResult()........................................................................54
4.2.10 DoubleToStringAddress() ........................................................................................55
4.2.11 StringToDoubleAddress() ........................................................................................55
4.2.12 StringToConstant()...................................................................................................56
4.2.13 ErrorToString() .........................................................................................................56
4.2.14 GetDriverVersion() ...................................................................................................57
4.2.15 TCVoltsToTemp() ....................................................................................................57
4.2.16 ResetLabJack()........................................................................................................57
iv