RTC6 boards
Doc. Rev. 1.0.21 en-US
8 Advanced Functions for Scan Head Control and Laser Control
264
The pixel output period is defined by the parameter
HalfPeriod
(half pixel output period). This is also half
the laser period. The pixel distance between two
adjacent pixels in the line – and thus also the marking
direction – is defined by a:
• 2D vector (
dX
,
dY
) with set_pixel_line
• 3D vector (
dX
,
dY
,
dZ
) with set_pixel_line_3d
Directly after set_pixel_line/set_pixel_line_3d,
set_pixel has to be called separately for each pixel of
the line. This defines the laser energies to be
outputted at the corresponding pixel locations.
Pixel pulses are always outputted at the LASER1
output port, even for the purpose of synchronizing
the laser (gating). If
PulseLength
is not specified as
the port, the very
PulseLength
is outputted that has
been specified at last by set_laser_pulses, however,
at least 1/64 µs.
As an alternative to a sequence of
n
identical
set_pixel calls, set_n_pixel can be used.
Then only one command is stored on the
RTC6 PCIe Board, but during list processing the
corresponding set_pixel is executed
n
times.
Particularly for black & white images, this can
drastically reduce the size of lists. Do not confuse
set_n_pixel with n_set_pixel (multi-board version of
set_pixel).
Prior to the end of an image line, no command other
than set_pixel or set_n_pixel must be inserted into
the list. After set_pixel_line/set_pixel_line_3d, the
first list command that is not a set_pixel or
set_n_pixel command stops the Pixel Output Mode
and thus processing of the image line.
Each set_pixel/set_n_pixel command that does not
follow another set_pixel/set_n_pixel or
set_pixel_line/set_pixel_line_3d command is
ignored during processing and is thus a short
list command, see Section ”Normal, Short, Variable
and Multiple List Commands”, page 302.
Notes
• The number of pixels in an image line is limited
only by the capacity of the RTC6 List Memory, see
Chapter 15 ”Technical Specifications –
RT
C6 PCIe Board”, page 872. It is suggested –
especially for large bitmaps – to set up a new list
for each image line to avoid a list change during
the execution of one line.
• Each image line must start with set_pixel_line or
set_pixel_line_3d.
• The pixel distance (
dX
,
dY
) in the x direction and
y direction (in bits) (and with set_pixel_line_3d
also
dZ
) can be specified with floating point
numbers. This allows scaling and rotating the
image without rounding errors.
• Depending on the Pixel Output Mode, the half
pixel output period can be any integer-multiple of
1/64 µs. It is independent from the 10 µs position
output period of the galvanometer scanners’
(split-up into Microsteps) motion. Very low pixel
output frequencies result in multiple
galvanometer scanner steps per pixel, higher
frequencies result in multiple pixel pulses per
galvanometer scanner step.
• You can implement a Pixel Output Mode in a
10 µs raster with variable speed and/or curvilinear
paths with the help of
micro_vector[*] Commands, see Chapter 8.8
”micro_vector[*] Commands”, page 273.