RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
445
Delayed Short
List Command
set_laser_pulses
Function defines the output period and the pulse lengths for the laser signals LASER1 and LASER2
for “laser active” operation.
Call
set_laser_pulses( HalfPeriod, PulseLength )
Parameters
HalfPeriod
half of the output period in bits as an unsigned 32-bit value
1 bit equals 1/64 µs. Allowed range: [0 … (2
32
–1)]
PulseLength
Pulse length of the laser signals LASER1 and LASER2 in bits as an
unsigned 32-bit value.
1 bit equals 1/64 µs. Allowed range: [0 … (2
32
–1)]
Comments
•
Note that half the period length must be specified for
HalfPeriod
(see figure 48 on
page 131 and figure 49 on page 134).
•
If
HalfPeriod
= 0 and/or
PulseLength
= 0, no laser signals will be outputted.
• If the softstart mode is used (see page 135),
HalfPeriod
should not be smaller than 104
(this is not automatically checked). This value corresponds to a laser pulse frequency of
approx. 308 kHz.
•If
PulseLength
is larger than the output period (2 ·
HalfPeriod
), the laser will be perma-
nently on.
• The signal level is defined via set_laser_control.
•The set_laser_pulses command is also available as the control command
set_laser_pulses_ctrl.
•The set_laser_pulses command is largely identical to the RTC
®
4’s set_laser_timing
command, but has less parameters.
RTC
®
4
RTC
®
5new command
In RTC
®
4 compatibility mode, parameter values must be specified in units of 1/8 µs (the
1 µs time base – see set_laser_timing – is no longer supported). They will then be
internally converted to 1/64 µs units (i.e. multiplied by 8). The permissible range of values
is correspondingly smaller (the smallest reasonable value for
HalfPeriod
with softstart
mode is then 13).
References set_laser_pulses_ctrl, set_laser_timing
Ctrl Command set_laser_pulses_ctrl
Function same as set_laser_pulses (see above), but a control command
Call
set_laser_pulses_ctrl( HalfPeriod, PulseLength )
Parameters
HalfPeriod
half of the output period in bits as an unsigned 32-bit value
1 bit equals 1/64 µs. Allowed range: [0 … (2
32
–1)]
PulseLength
Pulse length of the laser signals LASER1 and LASER2 in bits as an
unsigned 32-bit value.
1 bit equals 1/64 µs. Allowed range: [0 … (2
32
–1)]
Comments • see set_laser_pulses
RTC
®
4
RTC
®
5 new command
In RTC
®
4 compatibility mode: as set_laser_pulses
References set_laser_pulses, set_laser_timing