EasyManua.ls Logo

Newport XPS-D - Gpioanalogset

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.62 GPIOAnalogSet
Name
GPIOAnalogSetSets one or several analog outputs (DAC).
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the GPIO type is DAC: (-8)
- Checks input parameters number: (-17)
Description
Sets analog value array for DAC type of GPIO.
Prototype
int GPIOAnalogSet(
int SocketID,
int NbElements,
char * GPIONameList,
double * AnalogValueArray
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
NbElements int Number of analog GPIO to read.
GPIONameList char * List of analog GPIO names separator is
comma.
AnalogGainValueArray double * Analog GPIO value array (DAC or ADC).
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-8: Wrong object type for this command.
-17: Not allowed action.
-22: Not allowed action.
109 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS-D

Related product manuals