RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
422
Ctrl Command get_scanahead_params
Function Only for scan systems with SCANahead technology, for example, the excelliSCAN.
Queries certain parameters from the specified iDRIVE scan system.
Restriction get_scanahead_params can be executed only, if no list is currently being processed.
Otherwise, the get_last_error return code gets set to
RTC6_BUSY
and error code 5 is
returned.
Call
Error = get_scanahead_params( HeadNo, &PreviewTime, &Vmax, &Amax )
Parameters
HeadNo
Scan head connector number.
As an unsigned 32-bit value.
Allowed values:
= 1: Scan head connector 1.
= 2: Scan head connector 2.
Option “Second Scan Head Control” required.
= 256: RTC6 board (no scan head connector).
Vmax
and
Amax
are returned converted to Image Field coordinates.
Returned
parameter
values
PreviewTime
Precalculation time for galvanometer scanner control. In 10 µs.
As a pointer to an unsigned 32-bit value.
Vmax
For
HeadNo
1, 2: Velocity limit as control bits (galvanometer scanner
rotation angle). In bits/10 µs.
For
HeadNo
256: Velocity limit as programming bits (Image Field
coordinates). In bits/10 µs.
As a pointer to an unsigned 32-bit value.
Amax
For
HeadNo
1, 2: Acceleration limit as control bits (galvanometer scanner
rotation angle). In bits/(10 µs)².
For
HeadNo
256: Acceleration limit as programming bits (Image Field
coordinates). In bits/(10 µs)².
As a pointer to a 64-bit IEEE floating point value.
Result Error code.
As an unsigned 32-bit value.
3 No excelliSCAN scan head is attached or
its excelliSCAN tuning is not active
(get_last_error return code
RTC6_PARAM_ERROR
).
5 A list is currently active
(get_last_error return code:
RTC6_BUSY
).
6
HeadNo
=
0
or
HeadNo
>2 has been specified as parameter
(get_last_error return code:
RTC6_PARAM_ERROR
).
8 The RTC6 board is not responding. Probably a program
has not been loaded yet
(get_last_error return code:
RTC6_TIMEOUT
).
11 A PCI error occurred
(get_last_error return code:
RTC6_SEND_ERROR
).