xPC Target |
 |
What Is xPC Target?
xPC Target is a solution for prototyping, testing, and deploying real-time systems using standard PC hardware. It is an environment that uses a target PC, separate from a host PC, for running real-time applications.
In this environment you use your desktop computer as a host PC with MATLAB®, Simulink®, and Stateflow® (optional) to a create a model using Simulink blocks and Stateflow charts. After creating your model, you can run simulations in nonreal time.
xPC Target lets you to add I/O blocks to your model, and then use the host PC with Real-Time Workshop®, Stateflow Coder (optional) and a C/C++ compiler to create executable code. The executable code is downloaded from the host PC to the target PC running the xPC Target real-time kernel. After downloading the executable code, you can run and test your target application in real time:
- Special hardware requirements -- The xPC Target software requires a host PC, target PC, and for I/O, the target PC must also have I/O boards supported by xPC Target. However, the target PC can be a desktop PC, industrial PC, PC/104, PC/104+, or CompactPCI computer.
- Special software requirements -- The xPC Target software requires either a Microsoft Visual C/C++ compiler (version 5.0, 6.0, or 7.0) or a Watcom
C/C++ compiler (version 10.6 or 11.0). In addition, xPC Target requires, MATLAB, Simulink, and Real-Time Workshop.
- xPC Target Embedded Option requirements -- The xPC Target Embedded Option is a separate product that requires an additional license from The MathWorks. With this additional license, you can deploy an unlimited number of real-time applications for stand-alone operation. This option allows you to
- Boot the target PC from an alternate device other than a floppy disk drive such as a hard disk drive or flash memory.
- Create stand-alone applications for the target PC independent from the host PC that can boot from a floppy drive or an alternate device.
- Create stand-alone GUI applications running on the host PC to control, change parameters, and acquire signal data from a target application. This feature uses the xPC Target API with any programming environment, or the xPC Target COM API with any programming environment, such as Visual Basic, that can use COM objects.
| Preface | | Required Products |  |