EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - set_mcbsp_out

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
455
innovators for industry
Undelayed
Short
List Command
set_mcbsp_out
Function defines two signal types for output at the McBSP interface (Multi channel Buffered Serial
Port, also see page 52).
Call
set_mcbsp_out( Signal1, Signal2 )
Parameter
Signal1,
Signal2
desired signal type as unsigned 32-bit values
Comments The selectable signal types are identical to those of the set_trigger command (refer to
the comments there for the allowable value range, signal types and other information).
If the value for
Signal1
/
Signal2
is unallowed, then set_mcbsp_out will be replaced by
list_nop (get_last_error return code
RTC5_PARAM_ERROR
).
Both selected data signals will be continuously transmitted (once per 10 µs cycle).
Only 16-bit portions of the selected data signals are packed into a common 32-bit data
word for output.
Signal1
is the lower half and
Signal2
the upper half of this 32-bit data
word.
–Only RTC
®
4-compatible bits #4-19 of the sample values and status values returned
by the scan system (
Signal1, Signal2
= 1-23, 25-30) are outputted. The least sig-
nificant 4 bits and any exceeding bits (in the virtual image field) are ignored.
For the other data types (
Signal1, Signal2
= 0, 24, 31-42), the least significant 16
bits are outputted and the upper bits are ignored (only relevant for
Signal1,
Signal2
= 37-42 and possibly 24 and 31).
Transmitted values are those of the preceding clock cycle: data is processed at the end
of a cycle and transmitted at the beginning of the next clock cycle at the set transmis-
sion frequency (see set_mcbsp_freq).
The signals and operating conditions of the McBSP interface are presented in the
section "McBSP Interface" on page 52.
RTC
®
4
RTC
®
5new command
Version info Last change with version DLL 531, OUT 532:
Further selectable data signals (
Signal1, Signal2
= 25…42, see set_trigger).
For some of the new data signals, only the lower 16 bits are outputted (see above).
References read_mcbsp, mcbsp_init, set_mcbsp_freq, set_mcbsp_out_ptr, set_trigger

Table of Contents

Related product manuals