RTC6 boards
Doc. Rev. 1.0.21 en-US
7 Basic Functions for Scan Head Control and Laser Control
154
For the tables, the following rules apply:
• Each table must begin with the line:
[VarPolyTable<No>]
<No>
represents the table number.
• If the table contains multiple
[VarPolyTable<No>]
entries with the same
<No>
,
then only the lines after the first entry are used.
Only lines up to the next ’[’ character (that is not
preceded by a semicolon) are used.
• Each data point ( scale()) is defined as follows:
Angle<n> = <Value>
Scale<n> = <Value>
where
<n>
must be replaced by a number
(1
<n>
50) which denotes the number of the
data point. The values
<Value>
for the angle (in
degrees) and the scaling factor can be specified
as (unsigned) floating point numbers. Decimal
separator: period (
.
).
• If the table contains multiple data points with the
same Index
<n>
, then the most recently read one
is used and the previous ones are ignored.
• If the table contains multiple data points with the
same angle , then the data point with the
largest Index
<n>
is used and the others ignored.
Equality is checked to within ±0.01°.
• For
<Value>
, the following ranges apply:
0.0° 180.0° and 0.0 scale() 2.0.
• Each instruction must be in a separate line.
• Spaces and tabs in a line (for example, between
’
=
’ and
<Value>
) are ignored.
• Empty lines are ignored.
• Data points with invalid values are ignored.
• The data point of a particular index
<n>
is ignored
if the corresponding
Angle<n>
and/or
Scale<n>
definition is missing.
• The semicolon ’;’ can be used for comments. All
characters in a line following a semicolon are
ignored.
• The instructions for data points in the table can
be ordered as desired.
• Indices for data point pairs in the table can be
selected as desired within the range [1…50] (the
table is then automatically sorted by ascending
angles).
• If the table contains no valid data point, then
load_varpolydelay has no effect (return value 1
or 13).
• The angle = 0° means that two successive
vectors are parallel and are marked in the same
direction.
If the table contains no explicit data for = 0°
(equality is checked to within ±0.01°), then a
data point for = 0° with the scaling factor
scale(0°) = 0 is added.
• The angle = 180° means that two successive
vectors are marked in opposite directions.
If the table contains no explicit data for = 180°
(equality is checked to within ±0.01°), then a
data point for = 180° with the largest
scaling factor found in the table for scale(180°) is
added.
After initialization by load_program_file, the
RTC6 PCIe Board uses the internal (default) table for
the “Variable Polygon Delay” (1–cos(), see
Figure 40). Alternatively, this can also be achieved
with
Name
= NULL in load_varpolydelay.
The table can be saved by create_dat_file.