RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
466
innovators for industry
Variable
List Command
set_pixel
Function
in the pixel output mode, defines the laser control parameters (pulse length and analog
voltage level) for
one
pixel in an image line.
Call
set_pixel( PulseLength, AnalogOut )
Parameters
PulseLength
pixel pulse length (as an unsigned 32-bit value).
1 bit equals 1/64
µ
s.
Allowed range: [0 … (2
32
–
1)]
AnalogOut
12-bit output value (analog voltage level at the analog output port
selected with
) for the pixel as an unsigned 32-bit value.
Higher bits are ignored (also see
Comments
• The command is synonymous with
with
Number
= 1 (see comments there).
RTC
®
4
RTC
®
5
• The RTC
®
5 does
not
support querying of analog voltage levels (see the RTC
®
4’s
ADChannel
parameter and
command).
• The RTC
®
5 controls the pixel pulses (at the LASER1 port) directly via the
PulseLength
parameter, whereas the RTC
®
4 controls them via the LASERON signal.
•
PulseLength
must be specified in units of 1/64
µ
s with the RTC
®
5; in RTC
®
4 compati-
bility mode it is specified in units of 1/8
µ
s (as with the RTC
®
4) and the RTC
®
5 multiplies
the specified value by 8. In RTC
®
4 compatibility mode, the RTC
®
5 also multiplies
AnalogOut
by 4 (the RTC
®
4’s analog outputs only handled 10-bit values). The permis-
sible range of values is correspondingly reduced.
References