User`s guide

8 Targeting Tornado for Real-Time Applications
8-8
StethoScope
With StethoScope, you can access the output of any block in the model (in the
real-time program) and display this data on a host. Signals are installed in
StethoScope by the real-time program using the
BlockIOSignals data
structure or, interactively from the
WindSh while the real-time program is
running. To use StethoScope interactively, see the StethoScope User’s Manual.
To use StethoScope you must specify the proper options with the build
command. See “Build Command Options” on page 8-17 for information on these
options.
Run-Time Structure
The real-time program executes on the VxWorks target while Simulink and
StethoScope execute on the same or different host workstations. Both Simulink
and StethoScope require tasks on the VxWorks target to handle
communication.
This diagram illustrates the structure of a VxWorks application using
Simulink’s external mode and StethoScope.
Figure 8-2: The Run-Time Structure
tRaten
tRate2
tRate1
tExtern
tBaseRate
tScope
Simulink in
StethoScope
Process GUI Events
ext_comm
external mode
Ethernet
UNIX or PC Host
VxWorks Target