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 #58 background imageLoading...
Page #58 background image
Outputs:
None
4.2.17 eAIN()
An “easy” function that returns a reading from one analog input. This is a simple alternative to
based method normally used by this driver.
eded, this function automatically configures the specified channel(s) for analog input.
Declaration
the very flexible IOType
When ne
:
LJ_ERROR _stdcall eAIN ( LJ_HANDLE Handle,
long ChannelP,
g ChannelN,
long Resolution,
long Settling,
y,
rved
long Reserved
arameter Description:
lon
double *Voltage,
long Range,
long Binar
long Rese
1,
2)
P
rrorcodes or 0 for no error.
bJack().
ter
should be 31
Settling – Pass a nonzero value to enable LongSettling.
is nonzero (True), the Voltage parameter will return the raw
that writes a value to one analog output. This is a simple alternative to the
ery flexible IOType based method normally used by this driver.
ied analog output.
n:
Returns: LabJack e
Inputs:
Handle – Handle returned by OpenLa
ChannelP – The positive AIN channel to acquire.
l to acquire. For the UE9, this parame
ChannelN – The negative AIN channe
is ignored. For single-ended channels on the U3, this parameter
(see Section 2.6.1).
Range – Ignored on the U3.
Resolution – Pass a nonzero value to enable QuickSample.
Binary – If this
binary value.
Reserved (1&2) – Pass 0.
Outputs:
Voltage – Returns the analog input reading, which is generally a voltage.
4.2.18 eDAC()
An “easy” function
v
When needed, this function automatically enables the specif
Declaratio
OR _stdcall eDAC ( LJ_HANDLE Handle,
LJ_ERR
long Channel,
58

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