XPS Unified Programmer’s Manual
7.2.1.168 PositionerCompensationDisturbanceStatusGet
Name
PositionerCompensationDisturbanceStatusGet – Gets status of disturbance
compensation in both directions.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the object type of this command is valid: (-8)
- Checks the filter number: (-17)
Description
This function returns the “Enabled” status of the disturbance compensation in both
positive and negative directions.
Prototype
int PositionerCompensationDisturbanceStatusGet(
int SocketID,
char *PositionerName,
char * PositiveCompensationEnabledStatus,
char * NegativeCompensationEnabledStatus
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
Output parameters
PositiveCompensationEnabledStatus char * Current “Enabled” status in the
positive direction
NegativeCompensationEnabledStatus char * Current “Enabled” status in the
negative direction
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -17: Parameter out of range or incorrect.
255 EDH0373En1023 — 01/18