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 #60 background imageLoading...
Page #60 background image
Returns: LabJack errorc rror.
Inputs:
Handle – Han enLabJack().
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.
c and counters. This is a simple
alternative t d by this driver.
When nee
eclaration:
odes or 0 for no e
dle returned by Op
4.2.21 eTCConfig()
An “easy fun tion that configures and initializes all the timers
to he very flexible IOType based method normally use
ded, this function automatically configures the needed lines as digital.
D
eTCConfig ( LJ_HANDLE Handle,
long *aEnableTimers,
long TimerClockBaseIndex,
long *aTimerModes,
double *aTimerValues,
long Reserved1,
)
arameter Description:
LJ_ERROR _stdcall
long *aEnableCounters,
long TCPinOffset,
long TimerClockDivisor,
long Reserved2
P
eturns: LabJack errorcodes or 0 for no error.
bJack().
aEnableTimers – An array where each element specifies whether that timer is
ting from 0, so for instance,
value for an
array element specifies to enable that timer. For the U3, this array must always
aEnableCounters – An array where each element specifies whether that counter
is enabled. Counters do not have to be enabled in order starting from 0, so
unter1 can be enabled when Counter0 is disabled. A nonzero value for an
tart assigning timers and
default is LJ_tc48MHZ.
TimerClockDivisor – Pass a divisor from 0-255 where 0 is a divisor of 256.
element is a constant specifying the mode
have at least 2 elements.
aTimerValues here each element is specifies the initial value for
that timer. For the U3, this array must always have at least 2 elements.
Reserved (1&2) – Pass 0.
R
Inputs:
Handle – Handle returned by OpenLa
enabled. Timers must be enabled in order star
Timer1 cannot be enabled without enabling Timer0 also. A nonzero
have at least 2 elements.
Co
array element specifies to enable that counter. For the U3, this array must
always have at least 2 elements.
TCPinOffset – Value from 0-8 specifies where to s
counters.
TimerClockBaseIndex – Pass a constant to set the timer base clock. The
aTimerModes – An array where each
for that timer. For the U3, this array must always
An array w
60

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