EasyManua.ls Logo

Newport XPS - Timerset

Newport XPS
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.330 TimerSet
Name
TimerSetSets the number of frequency ticks for the selected timer.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
Description
This function sets the number of frequency ticks for the selected timer to activate it.
The “TimerName” can be defined as:
Timer1
Timer2
Timer3
Timer4
Timer5
The “FrequencyTicks” allows to defined the frequency of the timer:
One frequency tick represents a corrector period = >0.125 ms = >8 khz
N frequency ticks represents N corrector periods = >N * 0.125 ms = > kHz
NOTE
“FrequencyTicks” = 0 means that the timer is disabled.
Prototype
int TimerSet(
int SocketID,
char * TimerName,
int FrequencyTicks
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
TimerName char * Name of timer.
FrequecyTicks int Number of frequency ticks.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
479 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS

Related product manuals