EasyManuals Logo

LabJack U3 User Manual

LabJack U3
120 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #78 background imageLoading...
Page #78 background image
5. Low-Level Function Reference
This section describes the low level functions of the U3. These are commands sent over USB
directly to the processor on the U3.
The majority of Windows users will use the high-level UD driver rather than these low-level
functions.
5.1 General Protocol
Following is a description of the general U3 low-level communication protocol. There are two
types of commands:
Normal: 1 command word plus 0-7 data words.
Extended: 3 command words plus 0-125 data words.
Normal commands have a smaller packet size and can be faster in some situations. Extended
commands provide more commands, better error detection, and a larger maximum data
payload.
Normal command format:
Byte
0 Checksum8: Includes bytes 1-15.
1 Command Byte: DCCCCWWW
Bit 7: Destination bit:
0 = Local,
Extended command format:
1 = Remote.
Bits 6-3: Normal command number (0-14).
Bits 2-0: Number of data words.
2-15 Data words.
Byte
0 Checksum8: Includes bytes 1-5.
1 Command Byte: D1111CCC
Bit 7: Destination bit:
0 = Local,
1 = Remote.
Bits 6-3: 1111 specifies that this is an extended command.
Bits 2-0: Used with some commands.
2 Number of data words.
3 Extended command number.
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6-255 Data words.
78

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LabJack U3 and is the answer not in the manual?

LabJack U3 Specifications

General IconGeneral
Analog Outputs2
Analog Output Resolution10 bits
Digital I/O20
Counter/Timers2
InterfaceUSB
Operating Voltage5 V
ManufacturerLabJack Corporation
Analog Inputs16
Analog Input Resolution12-bit
Max Sample Rate50 kHz