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 #14 background imageLoading...
Page #14 background image
Timers and counters can appear on various pins, but other I/O lines never move. For example,
Timer1 can appear anywhere from FIO0 to EIO1, depending on TimerCounterPinOffset and
whether Timer0 is enabled. On the other hand, FIO5 (for example), is always on the screw
terminal labeled FIO5, and AIN5 (if enabled) is always on that same screw terminal.
The first 8 flexible I/O lines (FIO0-FIO7) appear on built-in screw terminals. The other 8 flexible
I/O lines (EIO0-EIO7) are available on the DB15 connector.
Many software applications will need to initialize the flexible I/O to a known pin configuration.
That requires calls to the low-level functions ConfigIO and ConfigTimerClock. Following are the
values to set the pin configuration to the factory default state:
able 2-2. ConfigIO Factory Default Values
able 2-3. ConfigTimerClock Factory Default Values
hen using the high-level LabJackUD driver, this could be done with requests to the following
Put (lngHandle, LJ_ioPUT_CONFIG, LJ_chNUMBER_TIMERS_ENABLED, 0, 0);
;
16);
or with a single request to the following IOType created exactly for this purpose:
Put (lngHandle, LJ_ioPIN_CONFIGURATION_RESET, 0, 0, 0);
2.6 AIN
k U3 has up to 16 analog inputs available on the flexible I/O lines (FIO0-FIO7 and
nalog input resolution is 12-bits. The range of single-ended analog inputs is typically 0-2.44 or
voltage limits to avoid damage.
Byte #
6 WriteMask 15 Write all parameters.
8 TimerCounterConfig 0 No timers/counters. Offset=0.
9 DAC1Enable 0 DAC1 disabled.
10 FIOAnalog 0 FIO all digital.
11 EIOAnalog 0 EIO all digital.
T
Byte #
8 TimerClockConfig 130 Set clock to 48 MHz.
9 TimerClockDivisor 0 Divisor = 0.
T
W
IOTypes:
e
ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chTIMER_COUNTER_PIN_OFFSET, 0, 0)
ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chTIMER_CLOCK_BASE, LJ_tc48MHZ, 0);
ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chTIMER_CLOCK_DIVISOR, 0, 0);
ePut (lngHandle, LJ_ioPUT_COUNTER_ENABLE, 0, 0, 0);
ePut (lngHandle, LJ_ioPUT_COUNTER_ENABLE, 1, 0, 0);
ePut (lngHandle, LJ_ioPUT_DAC_ENABLE, 1, 0, 0);
0,
ePut (lngHandle, LJ_ioPUT_ANALOG_ENABLE_PORT, 0,
e
The LabJac
EIO0-EIO7). Single-ended measurements can be taken of any line compared to ground, or
differential measurements can be taken of any line to any other line.
A
0-3.6 volts, and the range of differential analog inputs is typically +/- 2.4 volts. The differential
input range is pseudobipolar, not true bipolar, as for valid measurements the voltage on every
analog input pin, with respect to ground, must be within -0.3 to +3.6 volts. See Appendix A for
14

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