XPS Unified Programmer’s Manual
7.2.1.114 HardwareDriverAndStageGet
Name
HardwareDriverAndStageGet – Gets smart hardware.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks plug number: (-17)
- Checks if the group is not in NOTINIT state: (-22)
Description
This function reads the driver reference and the smart stage name (only for a smart
stage) from board EEPROMs for the selected positioner plug number.
Prototype
int HardwareDriverAndStageGet(
int SocketID,
int PlugNumber,
char * DriverName,
char * StageName,
)
Input parameters
SocketID int Socket identifier gets by the
TCP_ConnectToServer” function.
PlugNumber int Positioner plug number.
Output parameters
DriverName char * Driver reference.
StageName char * Smart stage name.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
• -22: Not allowed action.
177 EDH0373En1023 — 01/18