XPS Unified Programmer’s Manual
7.2.1.197 PositionerCompensationPreFeedForwardFrequencyNotchFilterGet
Name
PositionerCompensationPreFeedForwardFrequencyNotchFilterGet – Gets the
notch filter parameters.
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 input parameter value: (-17)
- Checks the positioner name: (-18)
Description
This function returns the parameters defined for the selected notch filter.
Notch filters parameters:
• UserNotchFrequency.
• UserNotchBandwidth.
• UserNotchGain.
Prototype
int PositionerCompensationPreFeedForwardFrequencyNotchFilterGet(
int SocketID,
char * PositionerName,
int NotchFrequencyNumber,
double * NotchFrequency,
double * NotchBandwith,
double * NotchGain
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
NotchFrequencyNumber int Number of the selected Notch Frequency filter.
Output parameters
NotchFrequency double * Frequency (Hertz) for notch filter.
NotchBandwith double * Band width (Hertz) for notch filter.
NotchGain double * Gain for notch filter.
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.
• -18: Positioner Name doesn't exist or unknown command.
EDH0373En1023 — 01/18 304