MATLAB XPC TARGET 4 - DEVICE DRIVERS Manuale Utente Pagina 3

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 4
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 2
Defining and Controlling Scopes
Scopes are graphical display components that
can be used to monitor and acquire signal
data on the host or target PC. Scopes support
several trigger modes, which can be used to
control the acquisition timing and duration
of data collection. Multiple signals can be dis-
played in a single scope, and multiple scopes
can be included in a single model.
Programming Custom GUIs
Two application programming interfaces
(APIs) are included for custom GUI devel-
opment. The xPC Target C API and xPC
Target component object model (COM) API
provide full access to the target PC control,
parameter, and signal management func-
tions. Development environments supported
by these APIs include Visual Basic®, C, C++,
Java™, .NET managed languages including
C# and VB.NET, and any other programming
languages that support COM. You can link
to the APIs from your development environ-
ment to create custom host PC GUIs that
run outside MATLAB.
Interfacing with I/O Devices
To interface with sensors, actuators, and
other physical devices, xPC Target provides
device drivers that let you choose PCI,
CompactPCI, PC/104, PC/104+, PMC (on
a PCI carrier), and ISA bus I/O boards from
leading hardware vendors.
Supported I/O boards include:
Analog input and output (including audio
and frame-based)
Digital input and output
Pulse train generation and capture (PWM)
Incremental encoder, LVDT/RVDT, and
Synchro/Resolver
Shared/Reflective memory
Ethernet (UDP/IP and real-time raw
Ethernet)
Serial (RS-232/422/485)
Communication data buses (CAN, J1939,
ARINC 429, MIL-STD-1553)
For a complete list of supported I/O boards,
visit www.mathworks.com/xpctarget/hardware
Programming Custom
Device Drivers
xPC Target provides device drivers for a
variety of third-party boards. These drivers
are available as Simulink blocks in the xPC
Target library. If a driver for your board is not
supplied with xPC Target, you can write your
own. Tools, guides, examples, and source
code are provided with xPC Target to assist
you in driver development.
Deploying Real-Time Applications
with xPC Target Embedded Option
xPC Target Embedded Option is an extension
to xPC Target that binds the application and the
xPC Target kernel into a single image, enabling
you to automatically start an application on the
target PC after the kernel boots. You install this
image on a hard drive or flash drive on your
target PC. The combined image can then load
and execute on the target PC without a con-
nection to a host PC.
The xPC Target Explorer window (left) and xPC Target
Host Scope Viewer (right). xPC Target Explorer runs on
the host and interactively monitors and controls real-time
xPC Target applications.
www.mathworks.com
Vedere la pagina 2
1 2 3 4

Commenti su questo manuale

Nessun commento