- check_timer( dev_id), ct()
returns 1, if the timer is busy
e.g.:
* = check_timer(t1)
- read_timer( counter_id), rt()
The function can be used with the DGG only. It returns the
remaining time in s.
e.g.:
* = rt(t3)
- start_timer(dev_id) = xval, st()
asynchr. function, CAMAC: 16 s max., VME: 10 s (V462), 0.5 h (DGG)
e.g.:
st(t1) = 5
do wft(t1)
- start_and_wait_for_timer(dev_id) = xval, sawft()
The function starts a timer for the specified
interval and waits until it is completed. There is no limit
on the length of the interval.
e.g.:
sawft(t1) = 120
- start_and_wait_for_preset_timer(dev_id) = counts, sawftp()
The function returns after COUNTS have been decremented by
an external clock.
- start_timer_using_motor( timer, st, motor, pos, tol), stum()
A timer is started for ST seconds when a motor approaches a position POS.
The TOLERANCE parameter defines whether the motor is near enough.
The motor is expected to move when the function is called. The function
returns the position when the timer was started.
- stop_timer(dev_id), stpt()
The specified timer is stopped. Does not work for the V462.
e.g.:
do stop_timer(t1)
- wait_for_timer(dev_id), wft()
Waits until the specified timer is finished.
e.g.:
start_timer(t1) = 8
do wait_for_timer(t1)
- get_timer_external_base( device_id), gteb( device_id)
Returns the number of pulses that make 1 second.
This function is meaningful only for those timers
that run on external pulses. By default timers
use internal clocks.
e.g.:
* = gteb(t1)