LabJack U12 Quickstart Guide

Similar documents
LabJack U12 Quickstart Guide

LabJack U12 User s Guide

If you are looking at a PDF or hardcopy, realize that the original is an online document at

U12 Datasheet. The original LabJack multifunction DAQ. This datasheet covers all U12 variants: U12, U12-PH, and U12-NTH.

BTH-1208LS Wireless Multifunction DAQ Device

Chapter 1 Introducing the OM-USB-1608FS-Plus... 6 Functional block diagram... 6

USB 1608G Series USB Multifunction Devices

Chapter 1 Introducing the OM-USB-1608G Series...6 Functional block diagram...7

USB 1608G Series USB Multifunction Devices

THE TANKER V 8. USER MANU. Cop. ight 2002 t Sy e 200. ormos. Suite 53. y Rd. NW th Cant. 77 Laub. on, Ohio 4. or mos. inf. stems.com.

Chapter 2 Installing the OM-USB-1608FS... 9 What comes with your OM-USB-1608FS shipment?... 9 Hardware... 9 Additional documentation...

Chapter 1 Introducing the OM-USB Functional block diagram... 5

Specifications

RT USB3000 Technical Description and User Manual. Revision 4.1.

Specifications minilab 1008

USB-1616FS. Analog Input and Digital I/O. Specifications

AIO LN-USB. Features. N Series for USB Multifunction DAQ Unit (8ch AI, 2ch AO, 16ch DIO) AIO LN-USB 1. Ver.1.01

Specifications USB-1408FS

USB-to-I2C Basic. Hardware User s Manual.

USB-1208LS Specifications

Specifications PMD-1208FS

A variety of ECONseries modules provide economical yet flexible solutions. Waveform Generation

Win-I2CUSB Hardware User s Manual

Chapter 2 Installing the OM-USB-1408FS... 9 What comes with your OM-USB-1408FS shipment?... 9 Hardware... 9 Additional documentation...

USB-to-I2C. Professional Hardware User s Manual.

PCI-3E. PCI Interface Card Page 1 of 7. Description. Features

AO-1604LX-USB. Features. High-Resolution Analog Output Unit for USB AO-1604LX-USB 1. Ver.1.01

DaqBoard/3000USB Series USB 1-MHz, 16-Bit Data Acquisition Boards

ITI User Guide. ISOBUS Test Interface

Personal Daqs USB Data Acquisition Modules Models /55 & /56

Specifications USB-1616FS

RedLab Eight-Channel Simultaneous-Sampling Multifunction Device. User's Guide. November Rev 1 Meilhaus Electronic

USB-to-I2C. Ultra Hardware User s Manual.

Specifications

DI-148U. User's Manual. The way PC-based instrumentation should be. 8-Channel USB Data Acquisition Starter Kit. Manual Revision B

SCIENCEWORKSHOP 750 INTERFACE. Instruction Sheet for the PASCO Model CI Introduction

Features. High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE AI-1616L-LPE 1. Ver.1.01

Specifications USB-1616HS

±500 V Isolation Protects Your Data. Sample Rate. 16 bits ±1.25 V, ±2.5 V, ±5 V, ±10 V 100 ks/s 16 2

DT9800 Series. USB Function Module for Data Acquisition

AIO AH-PCI. Features. Packing List. 12-bits Analog I/O Board (High Gain) for PCI AIO AH-PCI 1. Ver.1.04

16-Channel 16-Bit PMC Analog I/O Board

SR3_Analog_32. User s Manual

USB-2527 Specifications

DI-148U DI-148U-SP. DI-158 Series. User's Manual. The way PC-based instrumentation should be. 8-Channel USB Data Acquisition Starter Kit

USB Channel Isolated Digital I/O USB Module. User Manual

CPCI-16AIO Channel 16-Bit Analog I/O CPCI Board With 8 Input Channels, 8 Output Channels, and Auto calibration

USB-4711A. 150 ks/s, 12-bit, USB Multifunction Module. User Manual

USB Multifunction Measurement and Control. User's Guide

PLQL/$% (LJKW $QDORJ,QSXW 7ZR

USB-4303 Specifications

LabJackUD Driver for Windows

Analog Input Sample Rate

USB Analog Input and Digital I/O Measurement and Control. User's Guide

CNT24-2(USB)GY. Features. Isolated Counter Input Module for USB 2.0 CNT24-2(USB)GY 1. Ver.1.03

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

LabJack UE9 User s Guide

ADI12-16(PCI) Isolated Multi-Function Analog Input Board for PCI ADI12-16(PCI) 1. Ver.1.01

AD12-16(PCI)EV. Features. Analog Input Board for PCI AD12-16(PCI)EV 1. Ver.1.02

ADI12-8(USB)GY. Features. Packing List. F&eIt Series Isolated Analog Input Module for USB ADI12-8(USB)GY 1. Ver.1.02

USB-201-OEM. Analog and Digital I/O. User's Guide

DT3000 Series. DT3000 Series. Key Features. at full rated throughput.

USB-1024LS. 24-bit Digital I/O Low-speed USB 2.0 device. User s Guide

Dept. of Electrical, Computer and Biomedical Engineering. Instrumentation for the data acquisition laboratory

Vernier SensorDAQ User s Manual

TNG-3B derives its operating power from the serial port. The DTR, RTS, and both data lines are all used, and must be properly connected.

USB ks/s, 12-bit, USB Multifunction Module. User Manual

Strain gauge Measuring Amplifier GSV-1A8. Instruction manual GSV-1A8, GSV-1A8USB, GSV-1A16USB

A variety of ECONseries modules provide economical yet flexible solutions

AIO UE3-PE. Features. 1MSPS 12-bit Analog I/O Board for PCI Express AIO UE3-PE 1. Ver.1.01

Model JI-300 I2C Host Adapter

ECONseries Low Cost USB DAQ

LGR-5327 Specifications

LGR-5325 Specifications

AD16-16(PCI)EV. Features. High-Resolution Analog Input Board for PCI AD16-16(PCI)EV 1. Ver.1.01

OP8/16 Optoisolated Digital Input Board User's Manual

AD12-16(PCI)EV. Features. Analog Input Board for PCI AD12-16(PCI)EV 1. Ver.1.01

LabJack UE9 User s Guide (Also Covers UE9-Pro)

Getting started with your DGH module:

DAQ-PACK M SERIES MULTI-CHANNEL HIGH-SPEED ANALOG I/O FAMILY USER GUIDE

AD16-16(PCI)EV. Features. High-Resolution Analog Input Board for PCI AD16-16(PCI)EV 1. Ver.1.02

DATENBLATT ADA16-32/2(PCI)F. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

USB485 USB to RS485 Converter Card

Signal Connections CHAPTER

Features. High-Speed Analog Input Board for PCI AD12-16U(PCI)EH. High-Speed & Resolution Analog Input Board for PCI AD16-16U(PCI)EH

ADR7700. RS232 / Data Acquisition Interface USER MANUAL V 1.0

MOD-RFID125 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, February 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

MOD-RFID125-BOX User Manual

Stellaris LM3S3748 Evaluation Kit README FIRST

User Guide for Digidata 1440A

PCI bit Digital Input/ Output Card for PCI Bus. User s Manual

USB-1208HS-4AO. High-Speed Analog Input and Digital I/O. User's Guide

6220 Ethernet-Based Voltage Measurement Module

DATENBLATT ADA16-8/2(LPCI)L. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

Low-Cost Multifunction DAQ for USB

ECONseries Low Cost USB DAQ

500KSPS 16-bit Analog I/O Unit for USB AIO FX-USB User s Guide

Temperature measurement board, optically isolated, 16/8/4 channels for thermocouples, Pt100, RTD, 18-bit

PMC-16AI Channel, 16-Bit Analog Input PMC Board. With 500 KSPS Input Conversion Rate. Features Include: Applications Include:

E Series Multifunction I/O 1.25 MS/s, 12-Bit, 16 or 64 Analog Inputs

Transcription:

LabJack U12 Quickstart Guide Revision 1.03 9/19/2001 LabJack Corporation www.labjack.com support@labjack.com For the latest version of the quickstart guide, the user s guide, or software, go to www.labjack.com. The LabJack U12 is a measurement and automation peripheral that enables the connection of a PC to the real-world. Although the LabJack U12 has many 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. Installation The LabJack U12 requires a PC running Windows 98SE, ME, 2000, or XP. To determine your operating system version, go to Start => Settings => Control Panel => System => General and make sure the version number is 4.10.2222 or higher (Win98SE=4.10.2222, WinME=4.90.3000, Win2000=5.0.2195, WinXP=5.1.XXXX). It doesn t matter if the hardware or software is installed first. Hardware Installation With the PC on and using the included cable, connect the LabJack U12 to the USB port on the PC or USB hub. The USB cable provides power and communication for the LabJack U12. The status LED should immediately blink 4 times (at about 4 Hz), and then stay off while the LabJack enumerates.

Enumeration is the process where the PC s operating system gathers information from a USB device that describes it and it s capabilities. The low-level drivers for the LabJack U12 come with Windows and enumeration will proceed automatically. The first time a device is enumerated on a particular PC, it can take a minute or two, and Windows might prompt you about installing drivers. Accept all the defaults at the Windows prompts, and reboot the PC if asked to do so. Enumeration occurs whenever the USB cable is connected, and only takes a few seconds after the first time. When enumeration is complete, the LED will blink twice and remain on. This means Windows has enumerated the LabJack properly. If the LabJack fails to enumerate: Make sure you are running Windows OS version 4.10.2222 or higher, Try connecting the LabJack to another PC, Try connecting a different USB device to the PC, Contact LabJack at support@labjack.com. Software Installation Although, the low-level USB drivers for the LabJack are included with Windows, high-level drivers are needed to send and receive data. The included LabJack CD installs the high-level drivers, example source code, and example applications. Close all open applications, especially LabJack related software, and insert the LabJack CD. If autorun is enabled, the installation program should start automatically. If the installation does not start, you will have to manually double-click on LabJackVXXX.exe. When the LabJack installation is finished, it will start the National Instruments LabVIEW Run- Time Engine (LVRTE) setup. The LVRTE is required for the example applications: LJconfig, LJlogger, LJscope, and LJtest. If prompted to reboot after this installation, go ahead and do so. To test the installation, start LJconfig by selecting Start => Programs => LabJack => LJconfig and make sure 1 LabJack is listed. Hardware Description The external features of the LabJack U12 are: USB connector DB25 digital I/O connector Status LED 30 screw terminals. The USB connection provides power and communication. No external power supply is needed. The +5 volt connections available at various locations are outputs, do not connect a power supply.

Figure 1. LabJack U12 top surface. Figure 1 shows the top surface of the LabJack U12. Not shown is the USB and DB25 connector, which are both on the top edge. The DB25 connector provides connections for 16 digital I/O lines, called D0-D15. It also has connections for ground and +5 volts. All connections besides D0-D15, are provided by the 30 screw terminals shown in Figure 1. Each individual screw terminal has a label, AI0 through STB. AI0 AI7: The LabJack U12 has 8 screw terminals for analog input signals. These can be configured individually and on-the-fly as 8 single-ended channels, 4 differential channels, or combinations in between. Each input has a 12-bit resolution and an input bias current of ±90 µa. o Single-Ended: The input range for a single ended measurement is ±10 volts. o Differential channels can make use of the low noise precision PGA to provide gains up to 20, giving an effective resolution greater than 16-bits. In differential mode, the voltage of each AI with respect to ground must be between ±10 volts, but the range of voltage difference between the 2 AI is a function of gain (G) as follows: G=1 ±20 volts G=2 ±10 volts G=4 ±5 volts G=5 ±4 volts G=8 ±2.5 volts G=10 ±2 volts G=16 ±1.25 volts G=20 ±1 volt AO0 & AO1: The LabJack U12 has 2 screw terminals for analog output voltages. Each analog output can be set to a voltage between 0 and the supply voltage (+5 volts nominal) with 10-bits of resolution.

IO0 IO3: Connections to 4 of the LabJack s 20 digital I/O are made at the screw terminals, and are referred to as IO0-IO3. These 4 channels include a 1.5 k Ω series resistor that provides overvoltage/short-circuit protection. D0 D15: Connections to 16 of the LabJack s 20 digital I/O are made at the DB25 connector, and are referred to as D0-D15. These 16 lines have no overvoltage/shortcircuit protection, and can sink or source up to 25 ma each (total sink or source current of 200 ma max for all 16). All digital I/O are CMOS output and TTL input except for D13- D15, which are Schmitt trigger input. DB25 Pinouts: 1: D0 6: D5 11: +5V 16: GND 21: D11 2: D1 7: D6 12: +5V 17: GND 22: D12 3: D2 8: D7 13: +5V 18: D8 23: D13 4: D3 9: NC 14: GND 19: D9 24: D14 5: D4 10: +5V 15: GND 20: D10 25: D15 CNT: The input connection to the 32-bit counter is made at screw-terminal CNT. This input has a Schmitt Trigger buffer, and the counter is incremented each time the voltage at CNT changes from less than 1 volt to greater than 4 volts. Frequencies up to at least1 MHz can be counted. CAL & STB: These terminals are used during testing and calibration. The CAL terminal is a precision +2.5 volt source and can be used to provide a few milliamps. +5V: The LabJack has a nominal +5 volt internal power supply. Power can be drawn from this power supply by connecting to the +5V screw-terminals, or the +5V pins on the DB25 connector. The total amount of current that can be drawn from the +5V pins, analog outputs, and digital outputs, is 450 ma for most desktop computers and selfpowered USB hubs. Some notebook computers and bus-powered hubs will limit this available current to about 50 ma. GND: The GND connections available at the screw-terminals and DB25 connector provide a common ground for all LabJack functions. LabJack Operation The LabJack U12 CD installs 4 example applications: LJconfig, LJlogger, LJscope, and LJtest. The LabVIEW source code for LJlogger and LJscope is installed in the examples directory. Also installed are high-level drivers (ljackuw.dll), an ActiveX interface to the high-level drivers (ljackuwx.ocx), and LabVIEW VIs which call all the DLL functions. The DLL and OCX are installed in the Windows System directory. If the installation program can determine the LabVIEW directory, it copies the LabVIEW drivers into that directory (\vi.lib\addons\) so they show up on the function palette. Otherwise, the LabVIEW drivers are copied into the LabJack installation directory (c:\program Files\LabJack)\drivers\labview, and can manually be transferred to the LabVIEW directory. Example Applications LJconfig LJconfig is used to set the local ID of a particular LabJack. This is useful if multiple LabJacks are connected to the USB. Every LabJack has a local ID and serial number. The local ID is a value between 0 and 255 that can be changed by the user. The serial number is a value between 256 and 2,147,483,647. The serial number is unique among all LabJacks and cannot be changed by the user.

LJlogger Sends and receives data in command/response mode. Saves data to disk, writes data to an HTML page on the Internet, and performs various actions (including email) on trigger events. LJscope Simulates an oscilloscope by reading data from 2 AI channels in burst mode. LJtest Runs a sequence of tests on the LabJack itself. Users will generally leave Test Fixture Installed unselected and execute the tests with nothing connected to the LabJack (except the USB of course). Drivers There are 21 functions exported by the LabJack DLL., and matching functions in the OCX and LabVIEW VIs. All functions are command/response except for AIBurst and AIStreamStart/Read/Clear. Following is a brief description of each function. For more details on each function see the LabJack U12 User s Guide. AISample: Reads the voltages from 1,2, or 4 analog inputs. Also controls/reads the 4 IO ports. AIBurst: Reads a specified number of scans (up to 4096) at a specified scan rate (up to 8192 Hz) from 1,2, or 4 analog inputs. First, data is acquired and stored in the LabJack s 4096 sample RAM buffer. Then, the data is transferred to the PC. AIStreamStart: Starts a hardware timed continuous acquisition where data is sampled and stored in the LabJack RAM buffer, and can be simultaneously transferred out of the RAM buffer to the PC application. A call to this function should be followed by periodic calls to AIStreamRead, and eventually a call to AIStreamClear. AIStreamRead: Waits for a specified number of scans to be available and reads them. AIStreamStart should be called before this function and AIStreamClear should be called when finished with the stream. AIStreamClear: This function stops the continuous acquisition. It should be called once when finished with the stream. AOUpdate: Sets the voltages of the analog outputs. Also controls/reads all 20 digital I/O and the counter. BitsToVolts: Converts a 12-bit (0-4095) binary value into a LabJack voltage. Volts=((2*Bits*Vmax/4096)-Vmax)/Gain where Vmax=10 for SE, 20 for Diff. VoltsToBits: Converts a voltage to it's 12-bit (0-4095) binary representation. Bits=(4096*((Volts*Gain)+Vmax))/(2*Vmax) Counter: Controls and reads the counter. The counter is disabled if the watchdog timer is enabled. DigitalIO: Reads and writes to all 20 digital I/O. GetDriverVersion: Returns the version number of ljackuw.dll. GetErrorString: Converts a LabJack errorcode, returned by another function, into a string describing the error. GetFirmwareVersion: Retrieves the firmware version from the LabJack. GetWinVersion: Uses a Windows API function to get the OS version. ListAll: Searches the USB for all LabJacks, and returns the serial number and local ID for each. LocalID: Changes the local ID of a specified LabJack. Changes will not take effect until the LabJack is re-enumerated or reset, either manually by disconnecting and reconnecting the USB cable or by calling ReEnum or Reset.

ReEnum: Causes the LabJack to electrically detach from and re-attach to the USB so it will re-enumerate. The local ID and calibration constants are updated at this time. Reset: Causes the LabJack to reset after about 2 seconds. After resetting the LabJack will re-enumerate. Watchdog: Controls the LabJack watchdog function. When activated, the watchdog can change the states of digital I/O if the LabJack does not successfully communicate with the PC within a specified timeout period. This function could be used to reboot the PC allowing for reliable unattended operation. The 32-bit counter (CNT) is disabled when the watchdog is enabled. ReadMem: Reads 4 bytes from a specified address in the LabJack's nonvolatile memory. WriteMem: Writes 4 bytes to the LabJack's 8,192 byte nonvolatile memory at a specified address. The data is read back and verified after the write. Memory 0-511 is used for and calibration data. Memory from 512-1023 is unused by the LabJack and available for the user (this corresponds to starting addresses from 512-1020). Memory 1024-8191 is used as a data buffer in hardware timed AI modes (burst and stream). Warranty The LabJack U12 comes with a 1 year limited warranty from LabJack Corporation (LC), 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 LC, and LC will pay for the return shipping.