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