Gpo_write(), Gpo_read() – ADLINK MXE-200i User Manual
Page 51
Watchdog Timer (WDT) & DI/O Function Libraries
37
MXE-200
Returns the digital logic state of MXE-200 digital input channels
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-200 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-200 digital output chan-
nels 1 to 8 (bit 0 to 7).
@ Return code
This manual is related to the following products: