XPS Unified Programmer’s Manual
7.2.1.201 PositionerCompensationPreFeedForwardSpatialNotchFilterGet
Name
PositionerCompensationPreFeedForwardSpatialNotchFilterGet – Gets the spatial
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 spatial notch number: (-17)
- Checks the positioner name: (-18)
Description
This function returns the parameters defined for the selected spatial notch filter.
Spatial notch filters parameters:
• SpatialNotchStep.
• SpatialNotchBandwidth.
• SpatialNotchGain.
Prototype
int PositionerCompensationPreFeedForwardSpatialNotchFilterGet(
int SocketID,
char * PositionerName,
int SpatialNotchNumber,
double * SpatialNotchStep,
double * SpatialNotchBandwidth,
double * SpatialNotchGain
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
SpatialNotchNumber int Number of the selected Spatial Notch Frequency
filter.
Output parameters
SpatialNotchStep double * Step for spatial notch filter.
SpatialNotchBandwidth double * Band width (Hertz) for spatial notch filter.
SpatialNotchGain double * Gain for spatial 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.
311 EDH0373En1023 — 01/18