- Datasheets
- Accessories
- CB15
- CB25
- CB37 V1.2
- CB37 V2.1
- EB37
- EI-1022
- EI-1034
- EI-1040
- EI-1050
- IDCA-10
- LJTick-CurrentShunt
- LJTick-DAC
- LJTick-DAC Testing Utility
- LJTick-DigitalOut5V
- LJTick-Divider
- LJTick-InAmp
- LJTick-InBuff
- LJTick-LVDigitalIO
- LJTick-OutBuff
- LJTick-Proto
- LJTick-RelayDriver
- LJTick-Resistance
- LJTick-VRef
- Mux80 AIN Expansion Board
- PS12DC
- RB12
- RB16
- T-Series Datasheet
- Preface: Warranty, Liability, Compliance
- 1.0 Device Overview
- 2.0 Installation
- 3.0 Communication
- 4.0 Hardware Overview
- 5.0 USB
- 6.0 Ethernet
- 7.0 WiFi (T7-Pro only)
- 8.0 LEDs
- 9.0 VS, Power Supply
- 10.0 SGND and GND
- 11.0 SPC
- 12.0 200uA and 10uA (T7 Only)
- 13.0 Digital I/O
- 13.1 Flexible I/O (T4 Only)
- 13.2 DIO Extended Features
- 13.2.1 EF Clock Source
- 13.2.2 PWM Out
- 13.2.3 PWM Out with Phase
- 13.2.4 Pulse Out
- 13.2.5 Frequency In
- 13.2.6 Pulse Width In
- 13.2.7 Line-to-Line In
- 13.2.8 High-Speed Counter
- 13.2.9 Interrupt Counter
- 13.2.10 Interrupt Counter with Debounce
- 13.2.11 Quadrature In
- 13.2.12 Interrupt Frequency In
- 13.2.13 Conditional Reset
- 13.3 I2C
- 13.4 SPI
- 13.5 SBUS
- 13.6 1-Wire
- 13.7 Asynchronous Serial
- 14.0 Analog Inputs
- 15.0 DAC
- 16.0 DB37 (T7 Only)
- 17.0 DB15
- 18.0 Internal Temp Sensor
- 19.0 RTC (T7 Only)
- 20.0 Internal Flash
- 21.0 SD Card (T7 Only)
- 22.0 OEM Versions
- 23.0 Watchdog
- 24.0 IO Config, _DEFAULT
- 25.0 Lua Scripting
- Appendix A - Specifications
- Appendix B - Drawings and CAD Models
- Appendix C - Firmware Revision History
- Appendix D - Packaging Information
- Appendix E - Software Options
- U3 Datasheet
- Preface
- 1 - Installation
- 2 - Hardware Description
- 2.1 - USB
- 2.2 - Status LED
- 2.3 - GND and SGND
- 2.4 - VS
- 2.5 - Flexible I/O (FIO/EIO)
- 2.6 - AIN
- 2.6.1 - Channel Numbers
- 2.6.2 - Converting Binary Readings to Voltages
- 2.6.3 - Typical Analog Input Connections
- 2.6.3.1 - Signal from the LabJack
- 2.6.3.2 - Unpowered Isolated Signal
- 2.6.3.3 - Signal Powered By the LabJack
- 2.6.3.4 - Signal Powered Externally
- 2.6.3.5 - Amplifying Small Signal Voltages
- 2.6.3.6 - Signal Voltages Beyond 0-2.44 Volts (and Resistance Measurement)
- 2.6.3.7 - Measuring Current (Including 4-20 mA) with a Resistive Shunt
- 2.6.3.8 - Floating/Unconnected Inputs
- 2.6.3.9 - Signal Voltages Near Ground
- 2.6.4 - Internal Temperature Sensor
- 2.7 - DAC
- 2.8 - Digital I/O
- 2.9 - Timers/Counters
- 2.9.1 - Timer Mode Descriptions
- 2.9.1.1 - PWM Output (16-Bit, Mode 0)
- 2.9.1.2 - PWM Output (8-Bit, Mode 1)
- 2.9.1.3 - Period Measurement (32-Bit, Modes 2 & 3)
- 2.9.1.4 - Duty Cycle Measurement (Mode 4)
- 2.9.1.5 - Firmware Counter Input (Mode 5)
- 2.9.1.6 - Firmware Counter Input With Debounce (Mode 6)
- 2.9.1.7 - Frequency Output (Mode 7)
- 2.9.1.8 - Quadrature Input (Mode 8)
- 2.9.1.9 - Timer Stop Input (Mode 9)
- 2.9.1.10 - System Timer Low/High Read (Modes 10 & 11)
- 2.9.1.11 - Period Measurement (16-Bit, Modes 12 & 13)
- 2.9.1.12 - Line-to-Line Measurement (Mode 14)
- 2.9.2 - Timer Operation/Performance Notes
- 2.9.1 - Timer Mode Descriptions
- 2.10 - SPC (… and SCL/SDA/SCA)
- 2.11 - DB15
- 2.12 - U3-OEM
- 2.13 - Hardware Revision Notes
- 3 - Operation
- 4 - LabJackUD High-Level Driver
- 4.1 - Overview
- 4.2 - Function Reference
- 4.2.1 - ListAll()
- 4.2.2 - OpenLabJack()
- 4.2.3 - eGet() and ePut()
- 4.2.4 - eAddGoGet()
- 4.2.5 - AddRequest()
- 4.2.6 - Go()
- 4.2.7 - GoOne()
- 4.2.8 - GetResult()
- 4.2.9 - GetFirstResult() and GetNextResult()
- 4.2.10 - DoubleToStringAddress()
- 4.2.11 - StringToDoubleAddress()
- 4.2.12 - StringToConstant()
- 4.2.13 - ErrorToString()
- 4.2.14 - GetDriverVersion()
- 4.2.15 - TCVoltsToTemp()
- 4.2.16 - ResetLabJack()
- 4.2.17 - eAIN()
- 4.2.18 - eDAC()
- 4.2.19 - eDI()
- 4.2.20 - eDO()
- 4.2.21 - eTCConfig()
- 4.2.22 - eTCValues()
- 4.3 - Example Pseudocode
- 4.3.1 - Open
- 4.3.2 - Configuration
- 4.3.3 - Analog Inputs
- 4.3.4 - Analog Outputs
- 4.3.5 - Digital I/O
- 4.3.6 - Timers & Counters
- 4.3.7 - Stream Mode
- 4.3.8 - Raw Output/Input
- 4.3.9 - Easy Functions
- 4.3.10 - SPI Serial Communication
- 4.3.11 - I²C Serial Communication
- 4.3.12 - Asynchronous Serial Communication
- 4.3.13 - Watchdog Timer
- 4.3.14 - Miscellaneous
- 4.4 - Errorcodes
- 5 - Low-level Function Reference
- 5.1 - General Protocol
- 5.2 - Low-Level Functions
- 5.2.1 - Bad Checksum
- 5.2.2 - ConfigU3
- 5.2.3 - ConfigIO
- 5.2.4 - ConfigTimerClock
- 5.2.5 - Feedback
- 5.2.5.1 - AIN: IOType = 1
- 5.2.5.2 - WaitShort: IOType=5
- 5.2.5.3 - WaitLong: IOType=6
- 5.2.5.4 - LED: IOType=9
- 5.2.5.5 - BitStateRead: IOType=10
- 5.2.5.6 - BitStateWrite: IOType=11
- 5.2.5.7 - BitDirRead: IOType=12
- 5.2.5.8 - BitDirWrite: IOType=13
- 5.2.5.9 - PortStateRead: IOType=26
- 5.2.5.10 - PortStateWrite: IOType=27
- 5.2.5.11 - PortDirRead: IOType=28
- 5.2.5.12 - PortDirWrite: IOType=29
- 5.2.5.13 - DAC# (8-bit): IOType=34,35
- 5.2.5.14 - DAC# (16-bit): IOType=38,39
- 5.2.5.15 - Timer#: IOType=42,44
- 5.2.5.16 - Timer#Config: IOType=43,45
- 5.2.5.17 - Counter#: IOType=54,55
- 5.2.5.18 - Buzzer: IOType=63
- 5.2.6 - ReadMem (ReadCal)
- 5.2.7 - WriteMem (WriteCal)
- 5.2.8 - EraseMem (EraseCal)
- 5.2.9 - Reset
- 5.2.10 - StreamConfig
- 5.2.11 - StreamStart
- 5.2.12 - StreamData
- 5.2.13 - StreamStop
- 5.2.14 - Watchdog
- 5.2.15 - SPI
- 5.2.16 - AsynchConfig
- 5.2.17 - AsynchTX
- 5.2.18 - AsynchRX
- 5.2.19 - I²C
- 5.2.20 - SHT1X
- 5.2.21 - SetDefaults (SetToFactoryDefaults)
- 5.2.22 - ReadDefaults (ReadCurrent)
- 5.2.23 - 1-Wire
- 5.3 - Errorcodes
- 5.4 - Calibration Constants
- Appendix A - Specifications
- Appendix B - Enclosure and PCB Drawings
- U3 Firmware Revision History
- U6 Datasheet
- Preface: Warranty, Liability, Compliance
- 1 - Installation
- 2 - Hardware Description
- 2.1 - USB
- 2.2 - Power and Status LED
- 2.3 - GND and SGND
- 2.4 - VS
- 2.5 - 10UA and 200UA
- 2.6 - AIN
- 2.6.1 - Channel Numbers
- 2.6.2 - Converting Binary Readings to Voltages
- 2.6.3 - Typical Analog Input Connections
- 2.6.3.1 - Signal from the LabJack
- 2.6.3.2 - Unpowered Isolated Signal
- 2.6.3.3 - Signal Powered By the LabJack
- 2.6.3.4 - Signal Powered Externally
- 2.6.3.5 - Amplifying Small Signal Voltages
- 2.6.3.6 - Signal Voltages Beyond ±10 Volts (and Resistance Measurement)
- 2.6.3.7 - Measuring Current (Including 4-20 mA) with a Resistive Shunt
- 2.6.3.8 - Floating/Unconnected Inputs
- 2.6.4 - Internal Temperature Sensor
- 2.6.5 - Signal Range
- 2.7 - DAC
- 2.8 - Digital I/O
- 2.9 - Timers/Counters
- 2.9.1 - Timer Mode Descriptions
- 2.9.1.1 - PWM Output (16-Bit, Mode 0)
- 2.9.1.2 - PWM Output (8-Bit, Mode 1)
- 2.9.1.3 - Period Measurement (32-Bit, Modes 2 & 3)
- 2.9.1.4 - Duty Cycle Measurement (Mode 4)
- 2.9.1.5 - Firmware Counter Input (Mode 5)
- 2.9.1.6 - Firmware Counter Input With Debounce (Mode 6)
- 2.9.1.7 - Frequency Output (Mode 7)
- 2.9.1.8 - Quadrature Input (Mode 8)
- 2.9.1.9 - Timer Stop Input (Mode 9)
- 2.9.1.10 - System Timer Low/High Read (Modes 10 & 11)
- 2.9.1.11 - Period Measurement (16-Bit, Modes 12 & 13)
- 2.9.1.12 - Line-to-Line Measurement (Mode 14)
- 2.9.2 - Timer Operation/Performance Notes
- 2.9.1 - Timer Mode Descriptions
- 2.10 - SPC (or VSPC)
- 2.11 - DB37
- 2.12 - DB15
- 2.13 - OEM Connector Options
- 3 - Operation
- 4 - LabJackUD High-Level Driver
- 4.1 - Overview
- 4.2 - Function Reference
- 4.2.1 - ListAll()
- 4.2.2 - OpenLabJack()
- 4.2.3 - eGet() and ePut()
- 4.2.4 - eAddGoGet()
- 4.2.5 - AddRequest()
- 4.2.6 - Go()
- 4.2.7 - GoOne()
- 4.2.8 - GetResult()
- 4.2.9 - GetFirstResult() and GetNextResult()
- 4.2.10 - DoubleToStringAddress()
- 4.2.11 - StringToDoubleAddress()
- 4.2.12 - StringToConstant()
- 4.2.13 - ErrorToString()
- 4.2.14 - GetDriverVersion()
- 4.2.15 - TCVoltsToTemp()
- 4.2.16 - ResetLabJack()
- 4.2.17 - eAIN()
- 4.2.18 - eDAC()
- 4.2.19 - eDI()
- 4.2.20 - eDO()
- 4.2.21 - eTCConfig()
- 4.2.22 - eTCValues()
- 4.3 - Example Pseudocode
- 4.3.1 - Open
- 4.3.2 - Configuration
- 4.3.3 - Analog Inputs
- 4.3.4 - Analog Outputs
- 4.3.5 - Digital I/O
- 4.3.6 - Timers & Counters
- 4.3.7 - Stream Mode
- 4.3.8 - Raw Output/Input
- 4.3.9 - Easy Functions
- 4.3.10 - SPI Serial Communication
- 4.3.11 - I²C Serial Communication
- 4.3.12 - Asynchronous Serial Communication
- 4.3.13 - Watchdog Timer
- 4.3.14 - Miscellaneous
- 4.4 - Errorcodes
- 5 - Low-level Function Reference
- 5.1 - General Protocol
- 5.2 - Low-Level Functions
- 5.2.1 - Bad Checksum
- 5.2.2 - ConfigU6
- 5.2.3 - ConfigIO
- 5.2.4 - ConfigTimerClock
- 5.2.5 - Feedback
- 5.2.5.1 - AIN: IOType = 1
- 5.2.5.2 - AIN24: IOType = 2
- 5.2.5.3 - AIN24AR: IOType = 3
- 5.2.5.4 - WaitShort: IOType=5
- 5.2.5.5 - WaitLong: IOType=6
- 5.2.5.6 - LED: IOType=9
- 5.2.5.7 - BitStateRead: IOType=10
- 5.2.5.8 - BitStateWrite: IOType=11
- 5.2.5.9 - BitDirRead: IOType=12
- 5.2.5.10 - BitDirWrite: IOType=13
- 5.2.5.11 - PortStateRead: IOType=26
- 5.2.5.12 - PortStateWrite: IOType=27
- 5.2.5.13 - PortDirRead: IOType=28
- 5.2.5.14 - PortDirWrite: IOType=29
- 5.2.5.15 - DAC# (8-bit): IOType=34,25
- 5.2.5.16 - DAC# (16-bit): IOType=38,39
- 5.2.5.17 - Timer#: IOType=42,44,46,48
- 5.2.5.18 - Timer#Config: IOType = 43, 45, 47, 49
- 5.2.5.19 - Counter#: IOType = 54, 55
- 5.2.6 - ReadMem (ReadCal)
- 5.2.7 - WriteMem (WriteCal)
- 5.2.8 - EraseMem (EraseCal)
- 5.2.9 - SetDefaults (SetToFactoryDefaults)
- 5.2.10 - ReadDefaults (ReadCurrent)
- 5.2.11 - Reset
- 5.2.12 - StreamConfig
- 5.2.13 - StreamStart
- 5.2.14 - StreamData
- 5.2.15 - StreamStop
- 5.2.16 - Watchdog
- 5.2.17 - SPI
- 5.2.18 - AsynchConfig
- 5.2.19 - AsynchTX
- 5.2.20 - AsynchRX
- 5.2.21 - I²C
- 5.2.22 - SHT1X
- 5.2.23 - 1-Wire
- 5.2.24 - StreamAddChannels
- 5.3 - Errorcodes
- 5.4 - Calibration Constants
- Appendix A - Specifications
- Appendix B - Noise and Resolution Tables
- Appendix C - Enclosure and PCB Drawings
- U6 Firmware Revision History
- Digit Datasheet (Discontinued)
- UE9 Datasheet
- Preface
- 1 - Installation
- 2 - Hardware Description
- 2.1 - USB
- 2.2 - Ethernet
- 2.3 - Vext (Screw Terminals and Power Jack)
- 2.4 - Comm and Control LEDs
- 2.5 - GND and SGND
- 2.6 - VS
- 2.7 - AIN
- 2.7.1 - Channel Numbers
- 2.7.2 - Converting Binary Readings to Voltages
- 2.7.3 - Typical Analog Input Connections
- 2.7.3.1 - Signal from the LabJack
- 2.7.3.2 - Unpowered Isolated Signal
- 2.7.3.3 - Signal Powered by the LabJack
- 2.7.3.4 - Signal Powered Externally
- 2.7.3.5 - Amplifying Small Signal Voltages
- 2.7.3.6 - Signal Voltages Beyond ±5 Volts (and Resistance Measurement)
- 2.7.3.7 - Measuring Current (Including 4-20 mA) with a Resistive Shunt
- 2.7.3.8 - Floating/Unconnected Inputs
- 2.7.4 - Internal Temperature Sensor
- 2.8 - DAC
- 2.9 - Digital I/O
- 2.10 - Timers/Counters
- 2.10.1 - Timer Mode Descriptions
- 2.10.1.1 - PWM Output (16-Bit, Mode 0)
- 2.10.1.2 - PWM Output (8-Bit, Mode 1)
- 2.10.1.3 - Period Measurement (32-Bit, Modes 2 & 3)
- 2.10.1.4 - Duty Cycle Measurement (Mode 4)
- 2.10.1.5 - Firmware Counter Input (Mode 5)
- 2.10.1.6 - Firmware Counter Input With Debounce (Mode 6)
- 2.10.1.7 - Frequency Output (Mode 7)
- 2.10.1.8 - Quadrature Input (Mode 8)
- 2.10.1.9 - Timer Stop Input (Mode 9)
- 2.10.1.10 - System Timer Low/High Read (Modes 10 & 11)
- 2.10.1.11 - Period Measurement (16-Bit, Modes 12 & 13)
- 2.10.2 - Timer Operation/Performance Notes
- 2.10.1 - Timer Mode Descriptions
- 2.11 - SCL and SDA (or SCA)
- 2.12 - DB37
- 2.13 - DB15
- 2.14 - OEM Connector Options
- 3 - Operation
- 4 - LabJackUD High-Level Driver
- 4.1 - Overview
- 4.2 - Function Reference
- 4.2.1 - ListAll()
- 4.2.2 - OpenLabJack()
- 4.2.3 - eGet() and ePut()
- 4.2.4 - eAddGoGet()
- 4.2.5 - AddRequest()
- 4.2.6 - Go()
- 4.2.7 - GoOne()
- 4.2.8 - GetResult()
- 4.2.9 - GetFirstResult() and GetNextResult()
- 4.2.10 - DoubleToStringAddress()
- 4.2.11 - StringToDoubleAddress()
- 4.2.12 - StringToConstant()
- 4.2.13 - ErrorToString()
- 4.2.14 - GetDriverVersion()
- 4.2.15 - TCVoltsToTemp()
- 4.2.16 - ResetLabJack()
- 4.2.17 - eAIN()
- 4.2.18 - eDAC()
- 4.2.19 - eDI()
- 4.2.20 - eDO()
- 4.2.21 - eTCConfig()
- 4.2.22 - eTCValues()
- 4.3 - Example Pseudocode
- 4.3.1 - Open
- 4.3.2 - Configuration
- 4.3.3 - Analog Inputs
- 4.3.4 - Analog Outputs
- 4.3.5 - Digital I/O
- 4.3.6 - Timers & Counters
- 4.3.7 - Stream Mode
- 4.3.8 - Raw Output/Input
- 4.3.9 - Easy Functions
- 4.3.10 - SPI Serial Communication
- 4.3.11 - I²C Serial Communication
- 4.3.12 - Asynchronous Serial Communication
- 4.3.13 - Watchdog Timer
- 4.3.14 - Miscellaneous
- 4.4 - Errorcodes
- 5 - Low-level Function Reference
- 5.1 - General Protocol
- 5.2 - Comm Functions
- 5.3 - Control Functions
- 5.3.1 - BadChecksum
- 5.3.2 - ControlConfig
- 5.3.3 - Feedback (and FeedbackAlt)
- 5.3.4 - SingleIO
- 5.3.5 - TimerCounter
- 5.3.6 - StreamConfig
- 5.3.7 - StreamStart
- 5.3.8 - StreamData
- 5.3.9 - StreamStop
- 5.3.10 - ReadMem
- 5.3.11 - WriteMem
- 5.3.12 - EraseMem
- 5.3.13.1 - WatchdogConfig
- 5.3.13.2 - WatchdogRead
- 5.3.13.3 - Extended WatchdogConfig
- 5.3.13.4 - WatchdogClear
- 5.3.15 - Reset
- 5.3.16 - SPI
- 5.3.17 - AsynchConfig
- 5.3.18 - AsynchTX
- 5.3.19 - AsynchRX
- 5.3.20 - I²C
- 5.3.21 - SHT1X
- 5.3.22 - StreamDAC
- 5.3.23 - SetDefaults (SetToFactoryDefaults)
- 5.3.24 - ReadDefaults (ReadCurrent)
- 5.3.25 - 1-Wire
- 5.4 - Low-Level Errorcodes
- 5.5 - Modbus
- 5.6 - Calibration Constants
- 6 - Low-level Native Examples
- Appendix A - Specifications
- Appendix B - Noise and Resolution Tables
- Appendix C - Enclosure and PCB Drawings
- UE9 Firmware Revision History
- U12 Datasheet
- 1 - Installation
- 2 - Hardware Description
- 3 - Example Applications
- 4 - Programming Reference
- 4.1 - EAnalogIn
- 4.2 - EAnalogOut
- 4.3 - ECount
- 4.4 - EDigitalIn
- 4.5 - EDigitalOut
- 4.6 - AISample
- 4.7 - AIBurst
- 4.8 - AIStreamStart
- 4.9 - AIStreamRead
- 4.10 - AIStreamClear
- 4.11 - AOUpdate
- 4.12 - AsynchConfig
- 4.13 - Asynch
- 4.14 - BitsToVolts
- 4.15 - VoltsToBits
- 4.16 - Counter
- 4.17 - DigitalIO
- 4.18 - GetDriverVersion
- 4.19 - GetErrorString
- 4.20 - GetFirmwareVersion
- 4.21 - GetWinVersion
- 4.22 - ListAll
- 4.23 - LocalID
- 4.24 - NoThread
- 4.25 - PulseOut
- 4.26 - PulseOutStart
- 4.27 - PulseOutFinish
- 4.28 - PulseOutCalc
- 4.29 - ReEnum
- 4.30 - Reset (or ResetLJ)
- 4.31 - SHT1X
- 4.32 - SHTComm
- 4.33 - SHTCRC
- 4.34 - Synch
- 4.35 - Watchdog
- 4.36 - ReadMem
- 4.37 - WriteMem
- 4.38 - BuildOptionBits (ActiveX only)
- 4.39 - FourPack (ActiveX only)
- 4.40 - Description of Errorcodes
- 5 - Low-Level Function Reference
- Appendix A - Specifications
- Appendix B - Dimensions
- Appendix C - U12 Hardware Troubleshooting
- Appendix D - Maximum Data Rates for the LabJack U12
- Accessories
42 comments
autorun from matlab?, can you help me?
Please,..Sr
How run Lab Jack from Matlab?
Get the examples
If you have a U12, start with the U12 MATLAB examples. If you have a U3, U6, or UE9, start with the Windows UD MATLAB examples.
Re: U12 in Matlab
One the menu to the left you can go to U12 Example Code and find an entry for Matlab. Start there, and I also suggest the forum where there are numerous posts about the U12 in Matlab.
cannot detect from USB port
hi, guys
I am use U12-PH OEM board. installed U12SetupV121.exe. installed LV8.6 deveolpment system. use only one USB cable to connect to my computer from U12-PH. LED's action is OK.
question 1.
beginning, I can detected this board and use LJtest(all pass) and labview examples to control DO, everything is fine and works well. but now, the same USB port can not detect U12-PH, just use LJtest and show some fails and cannot control DO.
my computer have three USB ports. and then I insert second USB port, computer shows out the detect message and of course I can control U12-PH, everything is fine again. but second time insert the same USB port, and cannot detect U12-PH, just like the first USB port situation again.
so I insert the third USB port, of course it will happen again the sam situation like USB port first and second.
I used out of all USB ports and try several times to detect just only use LJtest.exe for test, so far my computer cannot control U12-PH any more. I don't know what happened.
question 2.
just confirm a situation. I insert USB to computer. my computer device manager wouldn't assign a COM port number give to U12-PH. is that correct?
I will very appreciate your reply
Best Regards
Patch
Does the problem persist when
Does the problem persist when you reset the computer? Is anything connected to the U12?
In the device manager you should see an entry added to the Human Interface Devices section when a U12 is connected. Sometimes right clicking on that item and selecting 'scan for hardware changes" can fix that kind of issue.
Hi - I got a labjack U12 that
Hi - I got a labjack U12 that came with an analog HP spectrum analyzer. I've never used a labjack and not familiar with it. Looking at your U12 user's manual, I"m still not sure how to hook this up to the analyzer; although I have installed the U12SetupV121, with the spectrum analyzer turned off, ran LJTest(result: AI NC SE test failed; all others passed). Would be interested to learn how to use it.
thx.
Make sure nothing is
Make sure nothing is connected, except USB, when you run LJtest.
Do you have any more detail about the signal from your spectrum analyzer? What wires do you get from the device, what is the voltage range on those wires, and how fast does the signal vary with time?
Short of that detail, you probably connect your positive signal to AI0 and negative to GND. Then run LJlogger and the first row should display the voltage that the U12 measures on AI0 versus GND. This can measure from -10 to +10 volts.
Hello, I am an under grad
Hello,
I am an under grad student scientist studying agriculture. I introduce myself that way to protect myself from high level computer/electrical engineeering talk. I have studied Python programming on my own, but would say my programming skill is at the level of beginner...or just slightly better than the famous "hello world" type program or "guess a number" text based game, and that I have no idea how to talk to my USB port, or handle all the 0's and 1's that it is spewing out.
I found your products searching on the web because I have a dream of making a machine that can record historical data within a green house as well as provide automated outputs to control things like temperature, lighting, and humidity (based on the recorded historical data). After searching through your web site, I believe your devices can help me achieve this......but I was wondering if you had an "idiots guide" to the U12, or could suggest a book that would help me make more sense of the example programms you have on the website, or an introductory lab manual to walks newbies step by step through small experiments to teach key principals. I ask this because most of the programming examples you have posted on the website still look like Greek to me despite my experience looking at simple code.
I do appreciate your help with this, and look forward to learning something new which I would consider out of my current comfort zone.
Have you considered our newer
Have you considered our newer device the U3? In comparison to a U12 it is generally faster, more flexible and less expensive. Here's a webpage comparing the two devices: http://labjack.com/products/comparison
We have a quickstart guide on the LabJackPython webpage. That should help with installing the LabJackPython library and provides U3 examples. For a U12 examples, I believe we only have 1 quick one that reads AI0. That can be found here: http://labjack.com/support/u12/examples/python
To understand the examples you should do some reading on the Python language. Perhaps get a beginners Python book, or go to the Python website and go through their tutorials. What is helpful is learning about importing modules and learning how classes work. Once you get an understanding on classes looking at our examples should hopefully be less "Greek".
I will point out our classes and class methods are documented in the code. If you are using a u3, look at the u3 class (u3.py). For a u12, look at the u12 class (u12.py). If you need some clarification on something after reading up on classes and the examples, feel free to ask questions on our forums or send an email to [email protected].
Does U12 come with any kind
Does U12 come with any kind of mounting. I need to mount the U12's inside the control panel. We use U12 quite frequently but its really cumbersome to mount it inside a control panel. DIN Rail mounting facility would really be helpful. I am attaching an image of U12' recently used 6 of them in one panel
Thanks
Vihang Patil (http://www.konem.com)
Thanks for the pictures. Our
Thanks for the pictures. Our newer devices (U3/U6/UE9) have mounting options (DIN rail or screws), but the U12 does not. We see many people use stick-on velcro.
Hello I want to write a
Hello
I want to write a programme using ms visual c++ through a labjack u12 to send an output to a heater on a pcb and when this heater gets to a particular temperature say 25degrees,the heating should stop and a fan to start to cool this heater . how do i start this programming.
Thanks
sizler
All you need to do is pick a
All you need to do is pick a language that you want to use and grab our examples here. From the examples you should be able to get a feel for how the interface works pretty quickly.
Hi there. this is the first
Hi there. this is the first time im using a labjack and i own labjack u12. Im using it for my final year project in university. my question should be simple i guess. I tried to connect a potentiometer to the labjack. I connected the extreem ends of the potentiometer to +5V and ground and plugged the 3rd wire (the whipper) to AI0. i went through the PDF tutorial examples and step by step but at the end of the day, even the existance of the potentiometer is affecting the data being plotted on the graph and table on DAQ Factory. Is there a specific port i have to connect the wires? am i using the wrong port(AI0)? when i was setting it up in DAQ Factory, under I/O type i picked "A to D (SE 0-7 ; diff 8-11) ". is this telling me where im supposed to plug the wires of the potentiometer?
Thank you
What tutorial are you
What tutorial are you referring to?
Sounds like you have done as shown in Figure 2-4 of the U12 User's Guide. I suggest you simply run LJlogger.exe and see if the voltage measured on AI0 varies from 0-5 volts as you turn the pot.
Note that as discussed in Section 2.1 if the overall resistance of your pot is too high you will get substantial error. A 1k pot will only have about 1% error, so I suggest you try that.
Can I connect CNT of the U12
Can I connect CNT of the U12 Labjack directly to a 24V industrial encoder? Thanks.
From Appendix A of the U12
From Appendix A of the U12 User's Guide, the maximum allowable voltage on CNT is 15 volts, so if your encoder is driving 24 volts I would add a 4.7k resistor in series to limit current into the U12. First, though, you need to determine if you actually have an open-collector signal which is very common. Look at Sections 2.8.1.1 and 2.8.1.2 of the U3 User's Guide.
Can LabJack U12 be used for
Can LabJack U12 be used for control and automation or it is just more of a DAQ system? For example I want to control the A O/P by counter or A I/Ps. That is o/p is disabled if the inputs exceed their pre set limit or counter reaches its preset value.
From the literature I have read so far, I am not sure if it can do something like I have explained.
Please advise.
Thanks
The U12 provides digital
The U12 provides digital input, digital outputs, analog inputs and analog outputs. There are no restrictions on the order or reason being their triggering. You host application can poll inputs and set outputs as it sees fit. So yes, the U12 can be used for control.
When i hook up the U12 to my
It looks like the examples
It looks like the examples cannot access the driver in the /usr/local/lib directory with the current user logged in. Usually this directory should have read/execute permissions for all users. Here's a response from the "Linux and Mac OS X driver" page's comments that should help out :
Check your /usr/local/lib directory and make sure both the directory and the library files (libusb, liblabjackusb and libljacklm) have read and execute permissions for all users and groups. Using a terminal you can check permissions with the following commands:
ls -l /usr/local/
ls -l /usr/local/lib
Permissions should look like "drwxr-xr-x" or "-rwxr-xr-x". To change the permissions in a terminal use the chmod command on the directory and files you want to change. For example, to add read and execute permissions to the /usr/local/lib directory for all users and groups use this command:
sudo chmod a+rx /usr/local/lib
Thanks for your fast answer.
Thanks for your fast answer. I do have all the permissions right, I think:
drwxr-xr-x 4 root wheel 136 12 Mai 2012 ImageMagick-6.7.6
-rwxr-xr-x 1 root wheel 31156 11 Feb 16:33 liblabjackusb.dylib
-rwxr-xr-x 1 root wheel 104104 11 Feb 16:16 libljacklm.dylib
-rwxr-xr-x 1 root wheel 87776 11 Feb 15:58 libusb-1.0.0.dylib
-rwxr-xr-x 1 root wheel 309192 11 Feb 15:58 libusb-1.0.a
lrwxr-xr-x 1 root wheel 18 11 Feb 15:58 libusb-1.0.dylib -> libusb-1.0.0.dylib
-rwxr-xr-x 1 root wheel 936 11 Feb 15:58 libusb-1.0.la
drwxr-xr-x 3 root wheel 102 11 Feb 15:58 pkgconfig
The files look fine
The files look fine permission-wise. What are the permissions of the /usr/local/lib directory? It needs to have "drwxr-xr-x" permissions as well. You can check that with "ls -l /usr/local/".
Sorry I hadn't mentioned this
Sorry I hadn't mentioned this earlier. Yes the permission for the /usr/local/ is correct. I still get the same error message.
Try reinstalling with the
Try reinstalling with the installer then and follow this note on the Exodriver's page:
Use the “Customize install” option of the pre-built installer to add the LabJackHID kernel extension. This is a null kernel extension which prevents the OS’s HID driver from claiming a LabJack HID device. This is only required by U12 devices, otherwise it does not need to be installed.
Also, power cycle your U12 afterwards just in case.
Did someone fix this
Did someone fix this error?
>>> import u12
>>> d = u12.U12()
libusb error: LIBUSB_ERROR_ACCESS
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/u12.py", line 408, in __init__
self.open(id, serialNumber)
File "/Library/Python/2.7/site-packages/u12.py", line 475, in open
raise Exception("Couldn't open a U12. Check that one is connected and try again.")
Exception: Couldn't open a U12. Check that one is connected and try again.
I tried to set permissions, uninstalled/installed libusb, built it from source but no help. Can anybody help me with this error? Using Mac OS X 10.8.3 and also tried it on 10.7. Python version is 2.7.
Install Exodriver and the
Install Exodriver and the LabJackHID kernel extension from the latest Mac installer I uploaded today:
http://labjack.com/support/linux-and-mac-os-x-drivers
OS X 10.8 broke the LabJackHID kernel extension, but that is fixed now. That is probably the cause of your problem.
It is working now, no errors.
It is working now, no errors. Thank you very much!
Thanks;-)
Thanks;-)
Cool!
Cool!
How can I synchronize the
How can I synchronize the signals and the collection frequency of AI 0. The signals I would like to collect are controlled by a clock signal ( the frequecy is about 1kHz).
The UE9 (and perhaps the T7
The UE9 (and perhaps the T7 in the future) supports external clocking for stream mode. The U3 does not support external clocking, but it can stream much faster than the U12, so perhaps you could stream the external clock and AIN0 at 25 kscans/second, and then in software do the processing to keep the AIN0 readings when you see the desired clock edge.
Hello, I connect a pressure
Hello,
I connect a pressure transducer to the LabJack U12, but I have to much noise. May you tell me how can I reduce that?
If it's necessary to buy another LabJack model, please indicate the better model.
Pressure transducer specifications:
Excitation: 5 Vdc @15 mA
Output: 10 mV typical @ 5 Vdc
Sensitivity: 2 mV/V nominal
Input Impedance: 350 Ω min
Output Resistance: 350 Ω min
Insulation Resistance: 5 MΩ @ 75 Vdc
Accuracy: ±1% FS
(linearity and hysteresis combined)
Repeatability: ±0.1% FS
Zero Balance: ±3% FS
Operating Temperature Range: -54 to 121°C (-65 to 250°F)
Compensated Temperature Range: 16 to 71°C (60 to 160°F)
Thermal Zero Effect: <±0.018% full scale/°C
Thermal Sensitivity Effect: ±0.036% reading/°C
Proof Pressure: 150% range
Burst Pressure: 400% range
Regards.
Your pressure transducer is a
Your pressure transducer is a raw bridge circuit. To measure it with the U12, you will need an EI-1040 amplifier.
http://forums.labjack.com/index.php?showtopic=4376
The best devices to use with bridge circuits are the U6/U6-Pro or T7/T7-Pro. They can connect to bridge circuits directly without needing an external amplifier.
Hello, I have 3 labjacks and
Hello,
I have 3 labjacks and i want to stream analog data from all 3 labjacks, simultaneously.
I have assigned 3 different device ids to these labjacks.
But when i run the labview app it then only one labjack sampled at a time.
I am using three sequential structure for each labjack and they are placed to work in parallel.
With the U12 driver, stream
With the U12 driver, stream mode can only be used on 1 device at a time. You will have to use command-response mode to acquire data from multiple U12s, or move to one of our newer devices. For example, with a U6/T7 and Mux80 you can stream up to 84 analog inputs from a single device.
I am using Labjack U12
I am using Labjack U12 connected to a Solx2000 solenoid testing machine via the usb port. I get erratic measurements when using a Dell or HP PC running Windows XP. If I use a Gateway laptop, it works just fine. I would like for it to work on a PC in the shop. What can I do to make this happen?
The U12 is supported on XP.
The U12 is supported on XP. To get into details and troubleshoot your particular application I suggest you start a forum topic. Include information about exactly what software you are using and what sort of trouble you see. Also, does the behavior change if nothing is connected to the U12 except for USB?
I have a labjack U12 OEM Is
I have a labjack U12 OEM
Is it possible to measure a value from a trasducer which has 0-10V as output?
Can i connect the output directly on AI0?
Transducer will be powered externally and i'll connect together GND of labjack and 0V of trasducer
Sounds like you are asking
Sounds like you are asking about the current sourcing limit for the analog outputs. See Appendix A. The limit is 30 mA per analog output, and in addition you must consider that each output has 20 ohms of source impedance.
Hello, I have a U12 to
Hello,
I have a U12 to measure amplified signals from a sensor and get problems with noise. So, when there is static state (no force on the sensor) the amplifier offers a signal about 12,8 mV (+-) AC (voltmeter). When I connect the signal line of the amplifier with Labjack A0 I measure about 80 mV AC with a frequency of 50 1/s. How could that difference be explained? When my amplified signal is about 250 mV (measured by U12) the 50 1/s noise is gone and the signal becomes more realistic. How can I fix this?
Thanks a lot
A voltmeter is not a good way
A voltmeter is not a good way to measure noise. An oscilloscope sometimes works, but even then there are so many factors it is a difficult measurement.
To see the noise level of the U12 itself, remove your signals and instead just jumper the channel of interest to GND. If you see a noise level much lower than when your signal is connected, we can then help you troubleshoot why your signal is noisy. I suggest you start a post on our forum to get into those details, and you can start by posting a link to technical details for your amp and a listing of all connections between the amp and the U12 and the amp and your sensor.