HXP
Command Interface Manual
2.2.50
GPIOAnalogGainSet
Syntax
C# prototype
int GPIOAnalogGainSet(string[] GPIOName, Int32[] AnalogInputGainValue, out
string errstring)
Python prototype
[errstring] GPIOAnalogGainSet (GPIOName, AnalogInputGainValue)
Parameters
Input parameters
(string[]) GPIOName: GPIOName
(Int32) AnalogInputGainValue: AnalogInputGainValue
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 GPIOAnalogGainSet command which is
used to Set analog input gain . Refer to the XPS Programmer's manual to get the
command description.
2.2.51
GPIODigitalGet
Syntax
C# prototype
int GPIODigitalGet(string GPIOName, out UInt16 DigitalValue, out string errstring)
Python prototype
[DigitalValue, errstring] GPIODigitalGet (GPIOName)
Parameters
Input parameters
(string) GPIOName: GPIOName
Output parameters
(UInt16) DigitalValue: DigitalValue
(string) errString: The failure reason
Return
(int) error code: 0 in success and -1 on failure
Description
This function is used to process synchrounous GPIODigitalGet command which is used
to Read digital output or digital input . Refer to the XPS Programmer's manual to get
the command description.
27
EDH0318En1042 — 12/18