Gpo_write(), Gpo_read(), Gpo_write() gpo_read() – ADLINK MXE-5400 User Manual
Page 63: Preliminary
Advertising
PRELIMINARY
Watchdog Timer (WDT) & DI/O Function Libraries
51
MXE-5400
Returns the digital logic state of MXE-5400 digital input chan-
nels 1 to 8 (bit 0 to 7)
@ Return code
NoError
ErrorOpenDriverFailed
ErrorDeviceIoctl
GPO_Write()
Sets the digital logic state of the digital output line.
@ Syntax
C/C++
I16 GPO_Write(U16 wState)
@ Parameters
State
Sets the digital logic state of MXE-5400 digital output channels
1 to 8 (bit 0 to 7) to 0 or 1.
@ Return code
NoError
ErrorOpenDriverFailed
ErrorDeviceIoctl
GPO_Read()
Reads the digital logic state of the digital output line.
@ Syntax
C/C++
I16 GPO_Read(U16 *pwState)
@ Parameters
pwState
Returns the digital logic state of MXE-5400 digital output chan-
nels 1 to 8 (bit 0 to 7).
@ Return code
Advertising