XPS Unified Programmer’s Manual
7.2.1.125 MultipleAxesPTPulseOutputSet
Name
MultipleAxesPTPulseOutputSet – Sets the configuration of pulse generation for PT
trajectory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks group type (must be a MultipleAxes group): (-8)
- Checks group name: (-19)
- Checks the pulse generation must not be in progress: (-22)
Description
This function configures and activates the pulse generation of a PT trajectory. The pulse
generation is defined by a start element, an end element, and a time interval in seconds.
If a pulse generation is already activated on the selected PT trajectory then this function
returns error -22 (“Not allowed action”).
Please note,that the pulse output settings are automatically removed,when the trajectory
is over. Hence, with the execution of every new trajectory, it is required to define the
pulse output settings again.
This capability allows output of pulses at constant time intervals on a PT trajectory. The
pulses are generated between the first and the last trajectory element. The minimum
possible time interval is CorrectorISRPeriod value (system.ref).
The trajectory pulses are generated on the following GPIO ouputs:
GPIO
signals
ISA XPS
controller
To find the GPIO connector pin number from GPIOx.DOy, refer to Appendix / General
I/O Description of XPS User’s Manual,.
Example:
MultipleAxesPTPulseOutputSet(Group1, 3, 5, 0.01)
One pulse will be generated every 10 ms between the start of the 3rd element and the
end of the 5th element.
Prototype
int MultipleAxesPTPulseOutputSet(
int SocketID,
char GroupName[250],
int StartElement,
int EndElement,
double TimeInterval
)
191 EDH0373En1023 — 01/18