EasyManua.ls Logo

Newport XPS-D - Gpiodigitalget

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.1.63 GPIODigitalGet
Name
GPIODigitalGetReads one digital input or output.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- GPIO name (DI or DO): (-8)
- Hardware compatibility or XPS initialization in progress: (-22)
Description
Returns the value of digital input (DI) or digital output (DO).
Prototype
int GPIODigitalGet(
int SocketID,
char * GPIOName,
unsigned int * DigitalValue
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GPIOName char * Digital GPIO name (maximum size = 250).
Output parameters
AnalogGainValueArray uint * Analog GPIO value array (DAC or ADC).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-8: Wrong object type for this command.
-22: Not allowed action.
EDH0373En1023 01/18 110

Table of Contents

Other manuals for Newport XPS-D

Related product manuals