Advertisement

Quick Links

Published on LabJack (http://labjack.com)
Home > Printer-friendly PDF > Printer-friendly PDF
U3 User's Guide
The complete user's guide for the U3, including documentation for the LabJackUD driver. Covers
hardware versions 1.20, 1.21, and 1.30 (LV/HV).
To make a PDF of the whole manual, click "Export all" towards the upper-right of this page. Doing so
converts these pages to a PDF on-the-fly, using the latest content, and can take 20-30 seconds.
Make sure you have a current browser (we mostly test in Firefox and Chrome) and the current version
of Acrobat Reader. If it is not working for you, rather than a normal click of "Export all" do a right-click
and select "Save link as" or similar. Then wait 20-30 seconds and a dialog box will pop up asking
you where to save the PDF. Then you can open it in the real Acrobat Reader, not embedded in a
browser. If you still have problems, try the "Print all" option instead. In addition, an export is attached
below, but will not always be the latest version.
If you are looking at a PDF or hardcopy, realize that the original is an online document at http://labjack.com/support/u3/users-guide.
Rather than using a PDF, though, we encourage you to use this web-based documentation. Some advantages:
We can quickly change or update content.
The site search includes the user's guide, forum, and all other resources at labjack.com. When you are looking for
something try using the site search.
For support, try going to the applicable user's guide page and post a comment. When appropriate we can then immediately
add/change content on that page to address the question.
One other trick worth mentioning, is to browse the table of contents to the left. Rather than clicking on all the links to browse, you
can click on the small black triangles to expand without reloading the whole page.
User's Guide
Preface
For the latest version of this and other documents, go to www.labjack.com.
Copyright 2012, LabJack Corporation
Package Contents:
The normal retail packaged U3 (-LV or -HV):
U3 unit itself in red enclosure
USB cable (6 ft / 1.8 m)
Screwdriver
Warranty:
The LabJack U3 is covered by a 1 year limited warranty from LabJack Corporation, covering this product and parts against
defects in material or workmanship. The LabJack can be damaged by misconnection (such as connecting 120 VAC to any of the
screw terminals), and this warranty does not cover damage obviously caused by the customer. If you have a problem, contact
support@labjack.com for return authorization. In the case of warranty repairs, the customer is responsible for shipping to LabJack
Corporation, and LabJack Corporation will pay for the return shipping.
Limitation of Liability:
LabJack designs and manufactures measurement and automation peripherals that enable the connection of a PC to the real-
world. Although LabJacks have various redundant protection mechanisms, it is possible, in the case of improper and/or
unreasonable use, to damage the LabJack and even the PC to which it is connected. LabJack Corporation will not be liable for
any such damage.
Except as specified herein, LabJack Corporation makes no warranties, express or implied, including but not limited to any implied
warranty or merchantability or fitness for a particular purpose. LabJack Corporation shall not be liable for any special, indirect,
incidental or consequential damages or losses, including loss of data, arising from any cause or theory.
LabJacks and associated products are not designed to be a critical component in life support or systems where malfunction can
reasonably be expected to result in personal injury. Customers using these products in such applications do so at their own risk
and agree to fully indemnify LabJack Corporation for any damages resulting from such applications.
LabJack assumes no liability for applications assistance or customer product design. Customers are responsible for their
applications using LabJack products. To minimize the risks associated with customer applications, customers should provide
adequate design and operating safeguards.
Reproduction of products or written or electronic information from LabJack Corporation is prohibited without permission.
Reproduction of any of these with alteration is an unfair and deceptive business practice.
Conformity Information (FCC, CE, RoHS):
See the Conformity Page and the text below:
FCC PART 15 STATEMENTS:
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC
Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in
a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used
in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment
in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his
own expense. The end user of this product should be aware that any changes or modifications made to this equipment without the
approval of the manufacturer could result in the product not meeting the Class A limits, in which case the FCC could void the user's
U3 Product Page
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LJU3-LV and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for LabJack LJU3-LV

  • Page 1 Although LabJacks have various redundant protection mechanisms, it is possible, in the case of improper and/or unreasonable use, to damage the LabJack and even the PC to which it is connected. LabJack Corporation will not be liable for any such damage.
  • Page 2: Installation

    1 - Installation Windows The LJUD driver requires a PC running Windows. For other operating systems, go to labjack.com for available support. Software will be installed to the LabJack directory which defaults to c:\Program Files\LabJack\. Install the software first by going to labjack.com/support/u3.
  • Page 3 Name: LabJack-2014-10-14.exe Size: 49.99 MB Upload date: 2014-10-14 12:45 The LabJack Control Panel application (LJCP) handles configuration and testing of the UD series hardware. Click on the “Find Devices” button to search for connected devices. Figure 1-1. LJControlPanel Main Window Figure 1-1 shows the results from a typical search.
  • Page 4 Search for Ethernet devices using UDP broadcast packet: Only applies to UE9 device. Search for Ethernet devices using specified IP addresses: Only applies to UE9 device. LJControlPanel is normally installed by the main LabJack installer, which is the link at the top of the page. 1.2 - Self-Upgrade Application (LJSelfUpgrade) The processor in the U3 has field upgradeable flash memory.
  • Page 5: Hardware Description

    The LabJack vendor ID is 0x0CD5. The product ID for the U3 is 0x0003. 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).
  • Page 6: Status Led

    U3 to the host. 2.2 - Status LED There is a green status LED on the LabJack U3. This LED blinks on reset, and then remains steadily lit. Other LED behavior is generally related to flash upgrade modes ("Section 1.2":/support/u3/users-guide/1.2).
  • Page 7: Channel Numbers

    Vref (~2.44 volts) on the negative input of the ADC. Channel 32 is a special negative channel supported by the LabJack UD driver. When used, the driver will actually pass 30 as the negative channel to the U3, and when the result is returned the driver adds Vref to the value. For a low-voltage analog input this results in a full span on the positive channel of about 0 to 4.88 volts (versus ground), but since the voltage on any analog input...
  • Page 8 A typical example of this type of signal is a 3-wire temperature sensor. The sensor has a power and ground wire that connect to Vs and GND on the LabJack, and then has a signal wire that simply connects to an AIN terminal.
  • Page 9 If little is known about the box ground, a DMM can be used to measure the voltage of box ground compared to LabJack GND. As long as an extreme voltage is not measured, it is generally OK to connect the box ground to LabJack GND, but it is a good idea to put in a 100 Ω...
  • Page 10 Figure 2.6-2. Voltage Divider Circuit The attenuation of this circuit is determined by the equation: Vout = Vin * ( R2 / (R1+R2)) This divider is easily implemented by putting a resistor (R1) in series with the signal wire, and placing a second resistor (R2) from the AIN terminal to a GND terminal.
  • Page 11: Internal Temperature Sensor

    2.7 - DAC The LabJack U3 has 2 analog outputs (DAC0 and DAC1) that are available on the screw terminals. Each analog output can be set to a voltage between about 0.04 and 4.95 volts with 10 bits of resolution (8 bits on older hardware revision 1.20/1.21). The maximum output voltage is limited by the supply voltage to the U3.
  • Page 12 2.8 - Digital I/O The LabJack U3 has up to 20 digital I/O channels. 16 are available from the flexible I/O lines, and 4 dedicated digital I/O (CIO0- CIO3) are available on the DB15 connector. The first 4 lines, FIO0-FIO3, are unavailable on the U3-HV. Each digital line can be individually configured as input, output-high, or output-low.
  • Page 13 3.3 volts as a high input. Consider the CD74ACT541E from TI (or the inverting CD74ACT540E). All that is needed is a few wires to bring VS, GND, and the signal from the LabJack to the chip. This chip can level shift up to eight 0/3.3 volt signals to 0/5 volt signals and provides high output drive current (+/-24 mA).
  • Page 14 0 volts (logic low). Since the mechanical switch does not have any electrical connections, besides to the LabJack, it can safely be connected directly to GND, without using a series resistor or SGND.
  • Page 15 1 or 2 relays. With the DACs you would typically use a sourcing configuration (DAC/GND) rather than sinking (VS/DAC). The RB12 relay board is a useful accessory available from LabJack. This board connects to the DB15 connector on the U3 and accepts up to 12 industry standard I/O modules (designed for Opto22 G4 modules and similar).
  • Page 16 1 Timer enabled, Counter0 disabled, Counter1 enabled, and TimerCounterPinOffset=6: FIO6=Timer0 FIO7=Counter1 2 Timers enabled, Counter0 enabled, Counter1 enabled, and TimerCounterPinOffset=8: EIO0=Timer0 EIO1=Timer1 EIO2=Counter0 EIO3=Counter1 Starting with hardware revision 1.30, timers/counters cannot appear on FIO0-3, and thus TimerCounterPinOffset must be 4-8. A value of 0-3 will result in an error.
  • Page 17 of the PWM output. If a duty cycle of 0.0% (totally off) is required, consider using a simple inverter IC such as the CD74ACT540E from TI. Or you can switch the mode of the timer to some input mode, and add an external pull-down to hold the line low when set to input. 2.9.1.2 - PWM Output (8-Bit, Mode 1) Outputs a pulse width modulated rectangular wave output.
  • Page 18 4 to the DIO number that Z is connected to. EG: for a Z-line on EIO3 set the timer value to 0x800B or 32779. This value should be sent to both the A and B timers. Note that the LabJack will only check Z when it sees an edge on A or B. Z-phase support requires Firmware 1.30 or later.
  • Page 19 To configure a LabJack for Line-to-Line mode set an even timer and the next (odd) timer to mode 14. The timer values determine the edge that the timer will respond to, 1 being rising, 0 being falling. So, if Timer0's value is 0 and Timer1's is 1 then the LabJack will measure the time between a falling edge on Timer0 to a rising edge on Timer1.
  • Page 20 LabJack with high voltages/currents. The RB12 relay board connects to the DB15 connector on the LabJack, using the 12 EIO/CIO lines to control up to 12 I/O modules. Output or input types of digital I/O modules can be used.
  • Page 21 USB host connected. If you are considering an external supply for reasons related to noise or stability, you are probably "barking up the wrong tree" and should contact support@labjack.com. The power supply provided by USB is typically 5 volts +/-5% @500 mA. The basic way to use an alternate supply is connecting it to hole 1 of the USB connector holes, instead of the supply from the USB host.
  • Page 22: Operation

    Stream mode is generally best for maximum-throughput applications where latency is not so important. Data is acquired very fast, but to sustain the fast rates it must be buffered and moved from the LabJack to the host in large chunks. For example, a typical stream application might set up the LabJack to acquire a single analog input at 50,000 samples/second.
  • Page 23: Stream Mode

    The highest input data rates are obtained in stream mode, which is supported with U3 hardware version 1.21 or higher. Hardware version 1.21 started shipping in late August of 2006. Contact LabJack for information about upgrading older U3s. Stream is a continuous hardware timed input mode where a list of channels is scanned at a specified scan rate.
  • Page 24 Windows System directory, along with a support DLL (LabJackUSB.dll). Generally this is c:\Windows\System\ on Windows 98/ME, and c:\Windows\System32\ on Windows 2000/XP. Other files, including the header and Visual C library file, are installed to the LabJack drivers directory which defaults to c:\Program Files\LabJack\drivers\.
  • Page 25 All the request and result functions always have 4 common parameters, and some of the functions have 2 extra parameters: Handle – This is an input to all request/result functions that tells the function what LabJack it is talking to. The handle is obtained from the OpenLabJack function.
  • Page 26: Function Reference

    (or the DLL is unloaded). If OpenLabJack is called repeatedly with the same parameters, thus requesting the same type of connection to the same LabJack, the driver will simply return the same LJ_HANDLE every time.
  • Page 27 ConnectionType – Enter the constant for the type of connection, USB or Ethernet. pAddress – For USB, pass the local ID or serial number of the desired LabJack. For Ethernet pass the IP address of the desired LabJack. If FirstFound is true, Address is ignored.
  • Page 28 After using AddRequest() to make an internal list of requests to perform, call GoOne() to actually perform the requests. This function causes all requests on one particular LabJack to be performed. After calling GoOne(), call GetResult() or similar to retrieve any returned data or errors.
  • Page 29 IOType, long Channel, double *pValue) Parameter Description: Returns: LabJack errorcodes or 0 for no error. Inputs: Handle – Handle returned by OpenLabJack(). IOType – The type of request. See Section 4.3. Channel – The channel number of the particular IOType.
  • Page 30 – Must pass a buffer for the string of at least 256 bytes. Outputs: *pString – A pointer to the string representation of the errorcode. 4.2.14 - GetDriverVersion() Returns the version number of this Windows LabJack driver. Declaration: double _stdcall GetDriverVersion(); Parameter Description: Returns: Driver version.
  • Page 31 Sends a reset command to the LabJack hardware. Reset causes the device to go to the reset/power-up configuration. Resetting the LabJack does not invalidate the handle, thus the device does not have to be opened again after a reset, but a Go call is likely to fail for a couple seconds after until the LabJack is ready.
  • Page 32 LJ_HANDLE Handle, long Channel, long State) Parameter Description: Returns: LabJack errorcodes or 0 for no error. Inputs: Handle – Handle returned by OpenLabJack(). Channel – The channel to write to. 0-19 corresponds to FIO0-CIO3. State – The state to write to the digital output. 0=False=Low and 1=True=High.
  • Page 33 C. 4.3.1 - Open The initial step is to open the LabJack and get a handle that the driver uses for further interaction. The DeviceType for the U3 is: LJ_dtU3 There is only one valid ConnectionType for the U3:...
  • Page 34: Analog Inputs

    LJ_chLED_STATE LJ_chU3HV //Reads TRUE if U3-HV. False if U3-LV or hardware version <1.30. Following is example pseudocode to write and read the local ID: //Set the local ID to 4. ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chLOCALID, 4, 0); //Read the local ID. eGet (lngHandle, LJ_ioGET_CONFIG, LJ_chLOCALID, &dblValue, 0);...
  • Page 35: Timers & Counters

    LJ_ioGET_DIGITAL_BIT_DIR LJ_ioGET_DIGITAL_BIT_STATE LJ_ioGET_DIGITAL_PORT //Also sets directions to input. x1 is number of bits. LJ_ioGET_DIGITAL_PORT_DIR //x1 is number of bits. LJ_ioGET_DIGITAL_PORT_STATE //x1 is number of bits. LJ_ioPUT_DIGITAL_BIT //Also sets direction to output. LJ_ioPUT_DIGITAL_PORT //Also sets directions to output. x1 is number of bits. DIR is short for direction.
  • Page 36 //pin assignments are in the factory default condition. //The ePut function is used, which combines the add/go/get. ePut (lngHandle, LJ_ioPIN_CONFIGURATION_RESET, 0, 0, 0); //First, an add/go/get block to configure the timers and counters. //Set the pin offset to 4, which causes the timers to start on FIO4. AddRequest (lngHandle, LJ_ioPUT_CONFIG, LJ_chTIMER_COUNTER_PIN_OFFSET, 4, 0, 0);...
  • Page 37 90-95% full. In stream mode the LabJack acquires inputs at a fixed interval, controlled by the hardware clock on the device itself, and stores the data in a buffer. The LabJackUD driver automatically reads data from the hardware buffer and stores it in a PC RAM buffer until requested.
  • Page 38 //Read data until done. while(!done) //Must set the number of scans to read each iteration, as the read //returns the actual number read. numScans = 1000; //Read the data. Note that the array passed must be sized to hold //enough SAMPLES, and the Value passed specifies the number of SCANS //to read.
  • Page 39 alngTimerModes = {LJ_tmPWM8,LJ_tmRISINGEDGES32}; //Set timer modes adblTimerValues = {16384,0}; //Set PWM8 duty-cycle to 75%. alngEnableCounters = {1,0}; //Enable Counter0 //eTCConfig (Handle, *aEnableTimers, *aEnableCounters, TCPinOffset, TimerClockBaseIndex, TimerClockDivisor, *aTimerModes, *aTimerValues, Reserved1, Reserved2); eTCConfig(lngHandle, alngEnableTimers, alngEnableCounters, 4, LJ_tc48MHZ, 0, alngTimerModes, adblTimerValues, 0, 0); //Read and reset the input timer (Timer1), read and reset Counter0, and update //the value (duty-cycle) of the output timer (Timer0).
  • Page 40: Watchdog Timer

    LJ_chI2C_OPTIONS LJ_chI2C_SPEED_ADJUST The LJTick-DAC is an accessory from LabJack with an I²C 24C01C EEPROM chip. Following is example pseudocode to configure I²C to talk to that chip: //The AddressByte of the EEPROM on the LJTick-DAC is 0xA0 or decimal 160.
  • Page 41: Error Codes

    periodically to reset the watchdog timer. Timeout of the watchdog on the U3 can be specified to cause a device reset, update the state of 1 digital I/O (must be configured as output by user), or both. Typical usage of the watchdog is to configure the reset defaults (condition of digital I/O and analog outputs) as desired (use the “config defaults”...
  • Page 42 1006 LJE_NO_MORE_DATA_AVAILABLE 1007 LJE_LABJACK_NOT_FOUND LabJack not found at the given id or address. Table 4-1 lists the errors which are specific to a request. For example, LJE_INVALID_CHANNEL_NUMBER. If this error occurs, other requests are not affected. Table 4-2 lists errors which cause all pending requests for a particular Go() to fail with the same error.
  • Page 43: General Protocol

    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.
  • Page 44 If the processor detects a bad checksum in any command, the following 2-byte normal response will be sent and nothing further will be done. Response: Byte 0xB8 0xB8 5.2.2 - ConfigU3 Writes and reads various configuration settings. Although this function has many of the same parameters as other functions, most parameters in this case are affecting the power-up values, not the current values.
  • Page 45 This is a user-configurable ID that can be used to identify a specific LabJack. The return value of this parameter is the current value and the power-up default value. TimerCounterConfig: If the WriteMask bit 1 is set, the value passed becomes the default value, meaning it is written to flash and used at reset.
  • Page 46 Command: Byte Checksum8 0xF8 0x02 0x0A Checksum16 (LSB) Checksum16 (MSB) Reserved Reserved TimerClockConfig Bit 7: Configure the clock Bits 2-0: TimerClockBase b000: 4 MHz b001: 12 MHz b010: 48 MHz (Default) b011: 1 MHz/Divisor b100: 4 MHz/Divisor b101: 12 MHz/Divisor b110: 48 MHz/Divisor TimerClockDivisor (0 = ÷256) Response:...
  • Page 47 Name IOType (dec) WriteBytes ReadBytes WaitShort WaitLong BitStateRead BitStateWrite BitDirRead BitDirWrite PortStateRead PortStateWrite PortDirRead PortDirWrite DAC0 (8-bit) DAC1 (8-bit) DAC0 (16-bit) DAC1 (16-bit) Timer0 Timer0Config Timer1 Timer1Config Counter0 Counter1 Buzzer 5.2.5.1 - AIN: IOType = 1 AIN, 3 Command Bytes: IOType = 1 Bits 4-0: Positive Channel Bit 6: LongSettling...
  • Page 48 WaitLong Feedback command specify the number of 16ms time increments to wait >>> import u3 >>> d = u3.U3() >>> d.debug = True >>> d.getFeedback(u3.WaitLong(Time = 70)) Sent: [0×47, 0xf8, 0×2, 0×0, 0×4c, 0×0, 0×0, 0×6, 0×46, 0×0] Response: [0xfa, 0xf8, 0×2, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0] [None] 5.2.5.4 - LED: IOType=9 LED, 2 Command Bytes:...
  • Page 49 BitDirWrite, 2 Command Bytes: IOType = 13 Bits 0-4: IO Number Bit 7: Direction 0 Response Bytes: This IOType writes the direction of a single bit of digital I/O. IO Number: 0-7=FIO, 8-15=EIO, or 16-19=CIO. Direction: 1=Output, 0=Input. LabJackPython example session Automatically extracted from u3.py.
  • Page 50 input, Direction=d0. For all 20 standard digital I/O as output, Direction=d1048575. To configure FIO0-FIO2 as output, EIO0- EIO2 as output, CIO0 as output, and all other I/O as input (b000000010000011100000111), Direction=d67335. LabJackPython example session Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received. 5.2.5.13 - DAC# (8-bit): IOType=34,35 DAC# (8-bit), 2 Command Bytes: IOType = 34, 35...
  • Page 51 5.2.5.17 - Counter#: IOType=54,55 Counter#, 2 Command Bytes: IOType = 54, 55 Bit 0: Reset 4 Response Bytes: Counter LSB Counter Counter Counter MSB This IOType reads a hardware counter, and optionally can do a reset. Reset: Setting this bit resets the counter to 0 after reading. Counter: Returns the current count from the counter if enabled.
  • Page 52 Command: Byte Checksum8 0xF8 0x11 0x28 (0x2b) Checksum16 (LSB) Checksum16 (MSB) 0x00 BlockNum 8-39 32 Bytes of Data Response: Byte Checksum8 0xF8 0x01 0x28 (0x2B) Checksum16 (LSB) Checksum16 (MSB) Errorcode 0x00 5.2.8 - EraseMem (EraseCal) The U3 uses flash memory that must be erased before writing. Command number 0x29 erases the entire user memory area. Command number 0x2C erases the entire calibration memory area.
  • Page 53 Command: Byte Checksum8 0xF8 NumChannels + 3 0x11 Checksum16 (LSB) Checksum16 (MSB) NumChannels SamplesPerPacket (1-25) Reserved ScanConfig Bit 7: Reserved Bit 6: Reserved Bit 3: Internal stream clock frequency. b0: 4 MHz b1: 48 MHz Bit 2: Divide Clock by 256 Bits 0-1: Resolution b00: 12.8-bit effective b01: 11.9-bit effective...
  • Page 54 mode. In this mode, the U3 no longer stores new scans in the buffer, but rather new scans are discarded. Data already in the buffer will be sent until the buffer contains less samples than SamplesPerPacket, and every StreamData packet will have errorcode 59. Once the stream buffer contains less samples than SamplesPerPacket, the U3 will start to buffer new scans again.
  • Page 55 Command: Byte Checksum8 0xF8 4 + NumSPIWords 0x3A Checksum16 (LSB) Checksum16 (MSB) SPIOptions Bit 7: AutoCS Bit 6: DisableDirConfig Bits 1-0: SPIMode (0=A, 1=B, 2=C, 3=D) SPIClockFactor Reserved CSPinNum CLKPinNum MISOPinNum MOSIPinNum NumSPIBytesToTransfer SPIByte0 Response: Byte Checksum8 0xF8 1 + NumSPIWords 0x3A Checksum16 (LSB) Checksum16 (MSB)
  • Page 56 to the UART module using the ConfigIO function. BaudFactor16 (BaudFactor8): This 16-bit value sets the baud rate according the following formula: BaudFactor16 = 2 – 48000000/(2 x Desired Baud). For example, a BaudFactor16 = 63036 provides a baud rate of 9600 bps. (With hardware revision 1.21, the value is only 8-bit and the formula is BaudFactor8 = 2 –...
  • Page 57 AddressByte: This is the first byte of data sent on the I²C bus. The upper 7 bits are the address of the slave chip and bit 0 is the read/write bit. Note that the read/write bit is controlled automatically by the LabJack, and thus bit 0 is ignored.
  • Page 58 StatusReg: Returns a read of the SHT1X status register. Temperature: Returns the raw binary temperature reading. Humidity: Returns the raw binary humidity reading. #CRC: Returns the CRC values from the sensor. 5.2.21 - SetDefaults (SetToFactoryDefaults) Executing this function causes the current or last used values (or the factory defaults) to be stored in flash as the power-up defaults. The U3 flash has a rated endurance of at least 20000 writes, which is plenty for reasonable operation, but if this function is called in a high-speed loop the flash could eventually be damaged.
  • Page 59: Calibration Constants

    Code Description SCRATCH_WRT_FAIL SCRATCH_ERASE_FAIL DATA_BUFFER_OVERFLOW ADC0_BUFFER_OVERFLOW FUNCTION_INVALID SWDT_TIME_INVALID XBR_CONFIG_ERROR FLASH_WRITE_FAIL FLASH_ERASE_FAIL FLASH_JMP_FAIL FLASH_PSP_TIMEOUT FLASH_ABORT_RECEIVED FLASH_PAGE_MISMATCH FLASH_BLOCK_MISMATCH FLASH_PAGE_NOT_IN_CODE_AREA MEM_ILLEGAL_ADDRESS FLASH_LOCKED INVALID_BLOCK FLASH_ILLEGAL_PAGE FLASH_TOO_MANY_BYTES FLASH_INVALID_STRING_NUM SHT1x_COMM_TIME_OUT SHT1x_NO_ACK SHT1x_CRC_FAILED SHT1X_TOO_MANY_W_BYTES SHT1X_TOO_MANY_R_BYTES SHT1X_INVALID_MODE SHT1X_INVALID_LINE STREAM_IS_ACTIVE STREAM_TABLE_INVALID STREAM_CONFIG_INVALID STREAM_BAD_TRIGGER_SOURCE STREAM_NOT_RUNNING STREAM_INVALID_TRIGGER STREAM_ADC0_BUFFER_OVERFLOW STREAM_SCAN_OVERLAP STREAM_SAMPLE_NUM_INVALID STREAM_BIPOLAR_GAIN_INVALID STREAM_SCAN_RATE_INVALID STREAM_AUTORECOVER_ACTIVE STREAM_AUTORECOVER_REPORT...
  • Page 60 Max V Min V Single-Ended 2.44 Differential 2.44 -2.44 Special 0-3.6 Table 2.6.2-1. Nominal Analog Input Voltage Ranges for Low-Voltage Channels Max V Min V Single-Ended 10.3 -10.3 Differential Special -10/+20 20.1 -10.3 Table 2.6.2-2. Nominal Analog Input Voltage Ranges for High-Voltage Channels U3 Calibration Formulas (Analog In) The readings returned by the analog inputs are raw binary values (low level functions).
  • Page 61: Appendix A - Specifications

    Appendix A - Specifications Specifications at 25 degrees C and Vusb/Vext = 5.0V, except where noted. Parameter Conditions Typical Units General USB Cable Length meters Supply Voltage 5.25 volts Supply Current (1) Hardware V1.21+ Operating Temperature °C Clock Error -40 to 85 °C Typ.
  • Page 62: Appendix B - Enclosure And Pcb Drawings

    Input Timer Total Edge Rate (15) No Stream, V1.21+ 30000 edges/s While Streaming 7000 edges/s (10) Maximum and minimum analog output voltage is limited by the supply voltages (Vs and GND). The specifications assume Vs is 5.0 volts. Also, the ability of the DAC output bufffer to driver voltages close to the power rails, decreases with increasing output current, but in most applications the output is not sinking/sourcing much current as the output voltage approaches GND.
  • Page 63: U3 Firmware Revision History

    U3 Enclosure Drawings.zip U3 PCB Dimensions.dxf U3 PCB Dimensions.pdf U3 Firmware Revision History Firmware is available on the U3 Firmware page. Firmware files require LJSelfUpgrade V1.21 or higher in order to upgrade the U3, which is included in the labjack installer.
  • Page 64 U3A and U3B refer to old hardware versions of the U3. U3Afirmware is for U3 hardware 1.20, and U3Bfirmware is for U3 hardware 1.21. U3C is for the U3-LV and U3-HV. WARNING: This warning applies to anyone using a programming utility other than LJSelfUpgrade. Attempting to program a U3A with U3B firmware will result in improper programming.

This manual is also suitable for:

Lju3-hv

Table of Contents