EasyManua.ls Logo

Newport XPS-D - Positionertimeflasherget

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.1.293 PositionerTimeFlasherGet
Name
PositionerTimeFlasherGetGets the time flasher parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner type (must not be a secondary positioner): (-8)
- Checks the time flasher parameters (must be configured): (-23)
- Checks the configured mode type (must be TimeFlasher): (-24)
Description
This function returns the parameters of the time flasher trigger. The time flasher mode is
defined by:
a position window defined by a minimum position and a maximum position
a time period to set the time spaced pulses.
For a more thorough description of the position compare output, please refer to the XPS
Motion Tutorial section Triggers/Position Compare Output.
Prototype
int PositionerTimeFlasherGet(
int SocketID,
char * FullPositionerName,
double * MinimumPosition,
double * MaximumPosition,
double * TimePeriod,
bool * EnableState
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
Output parameters
MinimumPosition double * Minimum position (units).
MaximumPosition double * Maximum position (units).
TimePeriod double * Time period (seconds).
EnableState bool * Enable time flasher state (true = enabled and
false = disabled).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-8: Wrong object type for this command.
-23: Position compare not set.
-24: Not available in this configuration (check hardware or configuration).
EDH0373En1023 01/18 436

Table of Contents

Other manuals for Newport XPS-D

Related product manuals