Gpo_write(), Gpo_read(), Gpo_write() gpo_read() – ADLINK MXE-1300 Series User Manual
Page 59
Advertising
Watchdog Timer (WDT) & DI/O Function Libraries
47
MXE-1300
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-1300 digital output channels
1~4 (bit 0~3) 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-1300 digital output chan-
nels 1~4 (bit 0~3).
@ Return code
NoError
ErrorOpenDriverFailed
ErrorDeviceIoctl
Advertising