RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
230
innovators for industry
Ctrl Command apply_mcbsp
Function
fetches the most recent values fully transmitted over the McBSP interface for online
positioning and defines offset and/or rotation matrix M
R
or general transformation matrix
M
T
for subsequent coordinate transformations.
Call
apply_mcbsp( HeadNo, at_once )
Parameters
HeadNo
Number of the scan head connector as an unsigned 32-bit value:
= 1:
The definition only affects the
primary
scan head connector.
= 2:
The definition only affects the
secondary
scan head connector
(activation required)
= 0, 3: The definition affects
both
scan head connectors.
Only the two least significant bits are evaluated.
at_once
This parameter (unsigned 32-bit value) determines when the defined
transformation becomes effective:
= 0:
The new total transformation (total matrix and offset) is only
calculated and applied to the current position when the next list
command is executed.
= 1:
The new total transformation is calculated immediately (or before the
next list command if a list is currently BUSY or the board is INTERNAL-
BUSY) and applied to the current position.
= 2:
The new total transformation (total matrix and offset) is only
calculated and applied to the current position when the next
command is executed.
> 2:
See
at_once
= 2
Comments
• Data acquisition via the McBSP interface for online positioning must be activated in
,
(or with the corresponding list commands). Depending on the
configuration, the command
apply_mcbsp
only defines (as with
) an X
and/or Y offset or also (as with
) a rotation matrix or (as with
general matrix operation (see
"Online Positioning", page 165
). As with the commands
described in
"Coordinate Transformations", page 161
, the parameter
at_once
deter-
mines when the newly defined total transformation becomes effective.
• Transformations previously defined via
might get
overwritten by
apply_mcbsp
. In contrast, transformations and focus shifts previously
defined via
and Z offsets defined via
will
continue to be taken into account, when the total transformation gets recalculated.
• Any new definitions made with
or
coordinate transformations defined via the McBSP interface.
• The McBSP interface always ignores the first FrameSync signal after a
, so available data will not be transmitted (see
RTC
®
4
RTC
®
5 new command
Version info
Available beginning with version DLL 524, OUT 526
References