EasyManua.ls Logo

Newport XPS-D - Gpioanalograngeconfigurationset

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.61 GPIOAnalogRangeConfigurationSet
Name
GPIOAnalogRangeConfigurationSet Sets GPIO DAC range configuration for
analog output(DAC).
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the GPIO type is DAC: (-8)
Description
This API sets the DAC range value. Set values are:
Input value = 0 = > Disabled
Input value ≥12.0 V = > DAC range = 12.288 V
Input value ϵ [10.0 , 12.0] = >DAC range = 10 V
Input value ϵ [5.0 , 10.0] = >DAC range = 5 V
Prototype
int GPIOAnalogRangeConfigurationSet(
int SocketID,
char * GPIOName,
double DACRange
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GPIOName char * GPIO name.
DACRange double DAC range value.
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.
EDH0373En1023 01/18 108

Table of Contents

Other manuals for Newport XPS-D

Related product manuals