RTC
®
5 PC Interface Board
Rev. 1.9 e
8 Advanced Functions for Scan Head and Laser Control
183
Correction via McBSP Interface with
Additional McBSP Input
You can also activate Processing-on-the-fly correction
of rotary movements with McBSP input values (as an
alternative to set_fly_rot_pos) by calling
set_mcbsp_in or set_mcbsp_in_list (
Mode
= 4).
These commands offer the advantage of using the
McBSP interface to input additional desired signals
that shouldn’t be subjected to Processing-on-the-fly
correction even when it is activated. For this, all
McBSP input values must be coded via bit#31.
Notes
• All input values always get copied alternatingly to
internal memory locations 1 and 2 and subse-
quently, in accordance with their bit#31 coding,
to internal memory locations 0 and 3. But after
deactivation of correction via
set_mcbsp_in(0)
or
set_mcbsp_in_list(0)
, they only get copied to
memory locations 1 and 2.
• You can query the data currently stored at
internal memory locations 0 - 3 via read_mcbsp.
• You can specify a rotation resolution via
set_mcbsp_in or set_mcbsp_in_list (as with
set_fly_rot_pos). Calibration for determining the
rotation resolution is the same as for
set_fly_rot_pos (see above).
• For transferring rotary correction values, 31 bits
with sign are effectively available.