HXP
Command Interface Manual
2.2.48
GPIOAnalogSet
Syntax
C# prototype
int GPIOAnalogSet(string[] GPIOName, double[] AnalogOutputValue, out string
errstring)
Python prototype
[errstring] GPIOAnalogSet (GPIOName, AnalogOutputValue)
Parameters
Input parameters
(string[]) GPIOName: GPIOName
(double[]) AnalogOutputValue: AnalogOutputValue
Output parameters
(string) errString: The failure reason
Return
(int) error code: 0 in success and -1 on failure
Description
This function is used to process synchrounous GPIOAnalogSet command which is used
to Set analog output for one or few output. Refer to the XPS Programmer's manual to
get the command description.
2.2.49
GPIOAnalogGainGet
Syntax
C# prototype
int GPIOAnalogGainGet(string[] GPIOName, out Int32[] AnalogInputGainValue, out
string errstring)
Python prototype
[AnalogInputGainValue, errstring] GPIOAnalogGainGet (GPIOName)
Parameters
Input parameters
(string[]) GPIOName: GPIOName
Output parameters
(Int32_i[]) AnalogInputGainValue: AnalogInputGainValue
(string) errString: The failure reason
Return
(int) error code: 0 in success and -1 on failure
Description
This function is used to process synchrounous GPIOAnalogGainGet command which is
used to Read analog input gain . Refer to the XPS Programmer's manual to get the
command description.
EDH0318En1042 — 12/18
26