Skip to Main Content Skip to Search
Product Documentation

Hardware Description

Introduction

The hardware environment consists of a host computer, target computer, I/O boards in the target computer, and a serial or network connection between the host and target computers. Knowing the different types of computers and I/O supported by the xPC Target software will help you to set up a real-time testing environment that meets your needs.

For a complete, fully assembled, real-time testing solution, see xPC Target Turnkey. xPC Target Turnkey combines the xPC Target software with a variety of high-performance real-time target computers.

Host Computer

You can use any PC that runs a Windows operating system supported by MathWorks as the host computer. It must also support an available serial port or Ethernet adapter. In addition, to provide a means to boot the target computer, the host computer must have at least:

For more details on the requirements of the host computer, see Host Computer Configuration.

Target Computer

The xPC Target software supports concurrent access to up to 64 target computers with one host. A target computer can connect to only one host computer at any given time. A target computer cannot connect to multiple host computers. A target computer can be almost any PC compatible system with a 32-bit Intel® or AMD® processor (386 compatible or higher). It must also support a free serial port or an Ethernet adapter. In addition, the target computer must contain a removable drive, CD or DVD drive, or have the ability to belong to a dedicated network. Using the xPC Target Embedded Option software, you can transfer files from the removable drive or CD to a hard disk or flash memory.

A target computer can be one of the following:

You do not need any special target hardware. However, the target computer must be a fully PC-compatible system and support a serial port or an Ethernet adapter compatible with the xPC Target software.

For more details on the requirements of the target computer, see Target Computer Configuration.

Host-Target Connection

The xPC Target product supports two connection types and communication protocols between the host computer and the target computer: serial and network.

Serial — The host and target computers are connected directly with a serial cable using their RS-232 ports. This cable is wired as a null modem link that can be up to 5 meters long and with a transfer rate between 1200 and 115200 baud.

For detailed information on setting up the hardware and software for serial communication, see Serial Communication.

Network — The host and target computers are connected through a network. The network can be a LAN, the Internet, or a direct connection using a crossover Ethernet cable. Both the host and target computers are connected to the network via Ethernet adapters using the TCP/IP protocol for communication.

When using a network connection, the target computer requires a supported Ethernet adapter card. The data transfer rate can be 10 megabits/second, 100 megabits/second, or 1 gigabit/second. For a list of supported cards, see Hardware for Network Communication.

For detailed information on setting up the hardware and software for network communication, see Network Communication.

Advantages of Network Communication

A host-to-target connection using network TCP/IP communication has advantages over serial RS-232 communication:

This manual does not include information for installing network cards or the TCP/IP protocol on your host computer. To install and configure your network cards and TCP/IP protocol, contact your system administrator.

I/O Driver Support

The xPC Target product supports a wide range of third-party I/O boards. The list of supported I/O boards includes ISA, PCI, PCIe, PMC, PC/104, PC/104+, and CompactPCI hardware. The drivers are represented by Simulink blocks. Your interaction with the I/O boards is through these Simulink blocks and the parameter dialog boxes. MathWorks does not manufacture the boards.

I/O board library — The I/O board library contains Simulink blocks for the xPC Target product. You drag and drop blocks from the I/O library and connect I/O drivers to your model the same way you would connect any standard Simulink block.

I/O support — The I/O device library supports approximately 300 standard boards. I/O boards plug into the target computer expansion bus, PC/104 stack, or industrial PC chassis. There is also support for modules that plug into IP or PMC carrier boards. The xPC Target block library supports the following I/O functions:

For information on using specific I/O driver blocks and advanced I/O support, see the xPC Target I/O Reference.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS