double Voltage,
long Binary,
long Reserved1,
long Reserved2)
Parameter Description:
eturns: LabJack errorcodes or 0 for no error.
R
Inputs:
• Handle – Handle returned by OpenLabJack().
• Channel – The analog output channel to write to.
Voltage – The voltage to write to the analog output.
value passed for Voltage should be binary.
• Reserved (1&
4.2.19 eDI()
An “easy” function that reads igital input. This is a simple alternative to the
very flexible IOType based method normally used by this driver.
When needed, this function automatically configures the specified channel as a digital input.
eclaration:
•
• Binary – If this is nonzero (True), the
2) – Pass 0.
the state of one d
D
long *State)
Parameter
LJ_ERROR _stdcall eDI ( LJ_HANDLE Handle,
long Channel,
Description:
LabJack errorcodes or 0 for no error.
Returns:
Inputs:
OpenLabJack().
IO3.
Outputs:
h.
DO()
n “easy” c the
ery flexible IOType based method normally used by this driver.
function automatically configures the specified channel as a digital output.
eclaration:
• Handle – Handle returned by
• Channel – The channel to read. 0-19 corresponds to FIO0-C
• State – Returns the state of the digital input. 0=False=Low and 1=True=Hig
4.2.20 e
A
v
fun tion that writes the state of one digital output. This is a simple alternative to
When needed, this
D
long Channel,
long State)
Parameter Description:
LJ_ERROR _stdcall eDO ( LJ_HANDLE Handle,
59