« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.0 USB [T-Series Datasheet]

Overview

Communication Protocol: Modbus TCP

Connector Type: USB-B Receptacle

Compatible: USB 1.1+

Max Cable Length: 5 meters

Max Packet Size: 64 bytes/packet

Power is supplied to the T-series device through the 5V USB connection.  If the Ethernet or WiFi connection is preferred for communication, use the provided AC USB 5V adapter for power.  When used for communication, it is a full-speed USB connection compatible with USB version 1.1 or higher.

Interface - Talk to the T-series Device

Modbus TCP is the protocol used by all connections on the T-series device (USB, Ethernet, WiFi).  If you want to handle USB communication yourself (find/open/write/read/close), you can use the Modbus protocol.  Most customers will use our LJM library which provides convenient device discovery, high-level functions and programming flexibility. 

Power Considerations

USB ground is connected to the T-series device's ground (GND), since standard USB is non-isolated. USB ground is generally the same as the ground of the PC chassis and AC mains.

If electrical isolation between the T-series device and host is desired, use Ethernet (or WiFi) instead, or add a USB isolator.

Any host port or self-powered hub port should provide 4.75 - 5.25 volts at any current up to 500 mA, per USB specifications. We have found that some are not up to specification and at higher currents the supplied voltage drops below 4.75 volts. See Appendix A-5 for details on power supply requirements.

If designing your own driver...

The LabJack vendor ID is 0x0CD5.

  • T4 product ID is 0x0004.
  • T7 product ID is 0x0007.

The USB interface consists of the normal bidirectional control endpoint (0 OUT & IN), 3 used bulk endpoints (1 OUT, 2 IN, 3 IN), and 1 dummy endpoint (3 OUT). Endpoint 1 consists of a 64 byte OUT endpoint (address = 0x01). Endpoint 2 consists of a 64 byte IN endpoint (address = 0x82). Endpoint 3 consists of a dummy OUT endpoint (address = 0x03) and a 64 byte IN endpoint (address = 0x83). Endpoint 3 OUT is not supported, and should never be used.

All commands should always be sent on Endpoint 1, and the responses to commands will always be on Endpoint 2. Endpoint 3 is only used to send stream data from the T-series device to the host.