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 #61 background imageLoading...
Page #61 background image
4.2.22 eTCValues()
An “easy” f c simple
alternative t
eclaration:
un tion that updates and reads all the timers and counters. This is a
to he very flexible IOType based method normally
used by this driver.
D
LJ_HANDLE Handle,
long *aReadTimers,
long *aResetCounters,
double *aCounterValues,
long Reserved1,
long Reserved2)
Parameter Description:
LJ_ERROR _stdcall eTCValues (
long *aUpdateResetTimers,
long *aReadCounters,
double *aTimerValues,
Returns: LabJack errorcodes o
Inputs:
Handle – Handle retu
aReadTimers – An array where each element specifies whether to read that
timer. A nonzero value for an array element specifies to read that timer. For the
U3, this array must alw 2 elements.
aUpdateResetTimers each element specifies whether to
update/reset that timer. A nonzero value for an array element specifies to
update/reset that timer. For the U3, this array must always have at least 2
s whether to read that
counter. A nonzero value for an array element specifies to read that counter.
t 2 elements.
r.
if the appropriate element is set in the
Outputs:
ach element is the value read from that timer if
alues – An array where each element is the value read from that
r 0 for no error.
rned by OpenLabJack().
ays have at least
An array where
elements.
aReadCounters – An array where each element specifie
For the U3, this array must always have at leas
aResetCounters – An array where each element specifies whether to reset that
counter. A nonzero value for an array element specifies to reset that counte
For the U3, this array must always have at least 2 elements.
aTimerValues – An array where each element is the new value for that timer.
Each value is only updated
aUpdateResetTimers array. For the U3, this array must always have at least 2
elements.
Reserved (1&2) – Pass 0.
aTimerValues – An array where e
the appropriate element is set in the aReadTimers array.
aCounterV
counter if the appropriate element is set in the aReadCounters array.
61

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