RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
466
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 set_pixel_line) for the pixel as an unsigned 32-bit value.
Higher bits are ignored (also see write_da_x).
Comments • The command is synonymous with set_n_pixel 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 read_pixel_ad 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 set_n_pixel, set_pixel_line, set_pixel_line_3d