XPS Unified
7.2.1.60
GPIOAnalogRangeConfigurationGet
Name
GPIOAnalogRangeConfigurationGet – Gets 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 returns the DAC range value.
Prototype
int GPIOAnalogRangeConfigurationGet(
int SocketID,
char * GPIOName,
double * DACRange
)
Input parameters
SocketID
GPIOName
Output parameters
DACRange
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
GPIO name.
double * DAC range value.
107
Programmer's Manual
EDH0373En1023 — 01/18