Getting Started

    Preface
        Documentation
            Online Documentation
            Printing the Documentation

        Required Products
            MATLAB
            Simulink
            Real-Time Workshop
            C Compiler

        Related Products
            Stateflow
            Stateflow Coder
            DSP Blockset
            Dials & Gauges Blockset

        Using This Guide
            Expected Background
            Organization

        Conventions
            Terminology
            Typographical

    Introduction
        What Is xPC Target?
        Features of xPC Target
            Real-Time Kernel
            Real-Time Application
            Signal Acquisition and Analysis
            Parameter Tuning

        Hardware Environment
            Host PC
            Target PC
            Host-Target Connection
            Input/Output Driver Support

        Software Environment
            Host-Target Communication
            Rapid Prototyping Process
            Embedded Process

        User Interaction
            xPC Target Graphical Interface
            MATLAB Command Line Interface
            Target PC Command Line Interface
            Simulink External Mode Interface
            Simulink Dials and Gauges Interface
            Web Browser Interface

    Installation and Configuration
        System Requirements
            Host PC
            Target PC

        Installation on the Host PC
            Getting or Updating Your License
            CD-ROM Installation
            Web Download Installation
            Files on the Host PC Computer

        Initial Working Directory
            Setting Your Working Directory from the Desktop Icon
            Setting Your Working Directory from Within MATLAB

        Serial Communication
            Hardware for Serial Communication
            Environment Properties for Serial Communication

        Network Communication
            Hardware for Network Communication
            Ethernet Card for a PCI-Bus
            Ethernet Card for an ISA-Bus
            Environment Properties for Network Communication

        Target Boot Disk
            Current Properties on the Target Boot Disk

        Testing and Troubleshooting the Installation
            Testing the Installation
            Test 1, Ping Target System Standard Ping
            Test 2, Ping Target System xPC Target Ping
            Test 3, Reboot Target Using Direct Call
            Test 4, Build and Download Application
            If You Still Need More Help

Using xPC Target

    Basic Procedures
        Simulating the Model
            Loading a Simulink Model
            Running a Simulation Using the Simulink Graphical Interface
            Running a Simulation Using the MATLAB Command Line Interface

        Creating the Target Application
            Booting the Target PC
            Troubleshooting the Boot Process
            Entering the Simulation Parameters
            Building and Downloading the Target Application
            Troubleshooting the Build Process

        Controlling the Target Application
            Control with MATLAB Commands

        Signal Monitoring
            Signal Monitoring with MATLAB Commands

        Signal Logging
            Signal Logging with xPC Target Graphical Interface
            Signal Logging with MATLAB Commands

        Signal Tracing
            Signal Tracing with xPC Target GUI
            Signal Tracing with xPC Target GUI (Target Manager)
            Signal Tracing with MATLAB Commands

        Parameter Tuning
            Parameter Tuning with MATLAB Commands
            Parameter Tuning with Simulink External Mode

    Advanced Procedures
        I/O Driver Blocks
            xPC Target I/O Driver Blocks
            Adding I/O Blocks with the xPC Target Library
            Adding I/O Blocks with the Simulink Library Browser
            Defining I/O Block Parameters

        xPC Target Scope Blocks
            xPC Target Scope Blocks
            Adding xPC Target Scope Blocks
            Defining xPC Target Scope Block Parameters

        Target PC Command Line Interface
            Using Methods and Properties on the Target PC
            Target Object Methods
            Target Object Properties
            Scope Object Methods
            Scope Object Properties
            Using Variables on the Target PC
            Variable Commands

        Web Interface
            Connecting the Web Interface
            Using the Main Page
            Changing WWW Properties
            Viewing Signals with the Web Browser
            Using Scopes with the Web Browser
            Viewing and Changing Parameters with the Web Interface
            Changing Access Levels to the Web Browser

    xPC Target Embedded Option
        Introduction
            DOSLoader Mode Overview
            StandAlone Mode Overview
            Architecture
            Restrictions

        Updating the xPC Target Environment
        Creating a DOS System Disk
        DOS Loader Target Applications
            Creating a Target Boot Disk for DOS Loader
            Creating a Target Application for DOS Loader

        Stand-Alone Target Applications
            Creating a Target Application for Stand-Alone
            Creating a Target Boot Disk for Stand-Alone
            Using Target Scope Blocks with Stand-Alone

Reference

    Environment Reference
        Environment
            Environment Properties
            Environment Functions

        Using Environment Properties and Functions
            Getting a List of Environment Properties
            Saving and Loading the Environment
            Changing Environment Properties with Graphical Interface
            Changing Environment Properties with Command Line Interface
            Creating a Target Boot Disk with Graphical Interface
            Creating a Target Boot Disk with Command Line Interface

        System Functions
            GUI Functions
            Test Functions
            xPC Target Demos

        Environment and System Function Reference

    Target Object Reference
        Target Object
            What is a Target Object?
            Target Object Properties
            Target Object Methods
            Target PC Commands

        Using Target Objects
            Displaying Target Object Properties
            Setting the Value of a Target Object Property from the Host PC
            Setting the Value of a Target Object Property from the Target PC
            Getting the Value of a Target Object Property
            Using the Method Syntax with Target Objects

    Scope Object Reference
        Scope Object
            What is a Scope Object?
            Scope Object Properties
            Scope Object Methods

        Using Scope Objects
            Displaying Scope Object Properties for a Single Scope
            Displaying Scope Object Properties for All Scopes
            Setting the Value of a Scope Property
            Getting the Value of a Scope Property
            Using the Method Syntax with Scope Objects

I/O Block Reference

    I/O Drivers
        I/O Driver Block Library
        Memory-Mapped Devices
        PCI Bus I/O Devices

    Access IO
        WDG-CSM
            WDG-CSM Watchdog Timer

    ADDI-DATA
        APCI-1710
            APCI-1710 Incremental Encoder

        PA-1700
            PA-1700 Incremental Encoder

    Advantech
        PCL-1800
            PCL-1800 Analog Input (A/D)
            PCL-1800 Analog Output (D/A)
            PCL-1800 Digital Input
            PCL-1800 Digital Output

        PCL-726
            PCL-726 Analog Output (D/A)
            PCL-726 Digital Input
            PCL-726 Digital Output

        PCL-727
            PCL-727 Analog Output (D/A)
            PCL-727 Digital Input
            PCL-727 Digital Output

        PCL-728
            PCL-728 Analog Output (D/A)

        PCL-818
            PCL-818 Analog Input (A/D)
            PCL-818 Analog Output (D/A)
            PCL-818 Digital Input
            PCL-818 Digital Output

        PCL-818H
            PCL-818H Analog Input (A/D)
            PCL-818H Analog Output (D/A)
            PCL-818H Digital Input
            PCL-818H Digital Output

        PCL-818HD
            PCL-818HD Analog Input (A/D)
            PCL-818HD Analog Output (D/A)
            PCL-818HD Digital Input
            PCL-818HD Digital Output

        PCL-818HG
            PCL-818HG Analog Input (A/D)
            PCL-818HG Analog Output (D/A)
            PCL-818HG Digital Input
            PCL-818HG Digital Output

        PCL-818L
            PCL-818L Analog Input (A/D)
            PCL-818L Analog Output (D/A)
            PCL-818L Digital Input
            PCL-818L Digital Output

    Burr-Brown
        PCI-20003M
            PCI-20003M Analog Output (D/A)

        PCI-20019M
            PCI-20019M Analog Input (A/D)

        PCI-20023M
            PCI-20023M Analog Input (A/D)

        PCI-20041C
            PCI-20041C Digital Input
            PCI-20041C Digital Output

        PCI-20098
            PCI-20098C Analog Input (A/D)
            PCI-20098C Digital Input
            PCI-20098C Digital Output

    ComputerBoards
        CIO-CTR05
            CIO-CTR05 Counter PWM
            CIO-CTR05 counter PWM & ARM
            CIO-CTR05 Counter FM
            CIO-CTR05 Counter FM & ARM
            CIO-CTR05 PWM Capture
            CIO-CTR05 FM Capture

        CIO-CTR10
            CIO-CTR10 Counter PWM
            CIO-CTR10 Counter PWM & ARM
            CIO-CTR10 Counter FM
            CIO-CTR10 Counter FM & ARM
            CIO-CTR10 PWM Capture
            CIO-CTR10 FM Capture

        CIO-DAC08 (/12)
            CIO-DAC08 Analog Output (D/A)

        CIO-DAC08/16
            CIO-DAC08/16 Analog Output (D/A)

        CIO-DAC16 (/12)
            CIO-DAC16 Analog Output (D/A)

        CIO-DAC16/16
            CIO-DAC16/16 Analog Output (D/A)

        CIO-DAS16/300
            CIO-DAS16/330 Analog Input (A/D)

        CIO-DAS16/JR (/12)
            CIO-DAS16/JR Analog Input (A/D)
            CIO-DAS16/JR (/12) Analog Input (A/D) with EXP Signal Conditioning Board

        CIO-DAS16JR/16
            CIO-DAS16JR/16 Analog Input (A/D)

        CIO-DAS1601/12
            CIO-DAS1601/12 Analog Input (A/D)
            CIO-DAS1601/12 Analog Output (D/A)
            CIO-DAS1601/12 Digital Input
            CIO-DAS1601/12 Digital Output

        CIO-DAS1602/12
            CIO-DAS1602/12 Analog Input (A/D)
            CIO-DAS1602/12 Analog Output (D/A)
            CIO-DAS1602/12 Digital Input
            CIO-DAS1602/12 Digital Output

        CIO-DAS1602/16
            CIO-DAS1602/16 Analog Input (A/D)
            CIO-DAS1602/16 Analog Output (D/A)
            CIO-DAS 1602/16 Digital Input
            CIO DAS1602/16 Digital Output

        CIO-DDA06 (/12)
            CIO-DDA06 (/12) Analog Output (D/A)
            CIO-DDA06 (/12) Digital Input
            CIO-DDA06 (/12) Digital Output

        CIO-DDA06/16
            CIO-DDA06/16 Analog Output (D/A)
            CIO-DDA06/16 Digital Input
            CIO-DDA06/16 Digital Output

        CIO-DIO24
            CIO-DIO24 Digital Input
            CIO-DIO24 Digital Output
            CIO-DIO24 Signal Conditioning

        CIO-DIO24H
            CIO-DIO24H Digital Input
            CIO-DIO24H Digital Output

        CIO-DIO48
            CIO-DIO48 Digital Input
            CIO-DIO48 Digital Output

        CIO-DIO48H
            CIO-DIO48H Digital Input
            CIO-DIO48H Digital Output

        CIO-DIO96
            CIO-DIO96 Digital Input
            CIO-DIO96 Digital Output

        CIO-DIO192
            CIO-DIO192 Digital Input
            CIO-DIO192 Digital Output

        CIO-DO24DD
            CIO-DO24DD Digital Output

        CIO-PDISO16
            CIO-PDISO16 Digital Input
            CIO-PDISO16 Digital Output

        CIO-QUAD02
            CIO-QUAD02 Incremental Encoder

        CIO-QUAD04
            CIO-QUAD04 Incremental Encoder

        PC104-DAC06 (/12)
            PC104-DAC06 (/12) Analog Output (D/A)

        PC104-DAS16JR/12
            PC104-DAS16JR/12 Analog Input (A/D)
            PC104-DAS16JR/12 Digital Input
            PC104-DAS16JR/12 Digital Output

        PC104-DAS16JR/16
            PC104-DAS16JR/16 Analog Input (A/D)
            PC104-DAS16JR/16 Digital Input
            PC104-DAS16JR/16 Digital Output

        PC104-DIO48
            PC104-DIO48 Digital Input
            PC104-DIO48 Digital Output

        PCI-CTR05
            PCI-CTR05 Counter PWM
            PCI-CTR05 Counter PWM & ARM
            PCI-CTR05 Counter FM
            PCI-CTR05 Counter FM & ARM
            PCI-CTR05 PWM Capture
            PCI-CTR05 FM Capture

        PCI-DAS1200
            PCI-DAS1200 Analog Input (A/D)
            PCI-DAS1200 Analog Output (D/A)
            PCI-DAS1200 Digital Input
            PCI-DAS1200 Digital Output

        PCI-DAS1200/JR
            PCI-DAS1200/JR Analog Input (A/D)
            PCI-DAS1200/JR Digital Input
            PCI-DAS1200/JR Digital Output

        PCI-DAS1602/12
            PCI-DAS1602/12 Analog Input (A/D)
            PCI-DAS1602/12 Analog Output (D/A)
            PCI-DAS 1602/12 Digital Input
            PCI-DAS1602/12 Digital Output

        PCI-DAS1602/16
            PCI-DAS1602/16 Analog Input (A/D)
            PCI-DAS1602/16 Analog Output (D/A)
            PCI-DAS 1602/16 Digital Input
            PCI-DAS1602/16 Digital Output

        PCI-DDA02/12
            PCI-DDA02/12 Analog Output (D/A)
            PCI-DDA02/12 Digital Input
            PCI-DDA02/12 Digital Output

        PCI-DDA04/12
            PCI-DDA04/12 Analog Output (D/A)
            PCI-DDA04/12 Digital Input
            PCI-DDA04/12 Digital Output

        PCI-DDA08/12
            PCI-DDA08/12 Analog Output (D/A)
            PCI-DDA08/12 Digital Input
            PCI-DDA08/12 Digital Output

        PCI-DIO24
            PCI-DIO24 Digital Input
            PCI-DIO24 Digital Output
            
            PCI-DIO24 Signal Conditioning

        PCI-DIO24H
            PCI-DIO24H Digital Input
            PCI-DIO24H Digital Output

        PCI-DIO48
            PCI-DIO48 Digital Input
            PCI-DIO48 Digital Output

        PCI-DIO96H
            PCI-DIO96H Digital Input
            PCI-DIO96H Digital Output

    Diamond
        Diamond-MM
            Diamond-MM Analog Input (A/D)
            Diamond-MM Analog Output (D/A)
            Diamond-MM Digital Input
            Diamond-MM Digital Output

        Quartz-MM 5
            Quartz-MM 5 Digital Input
            Quartz-MM 5 Digital Output
            Quartz-MM5 Counter PWM
            Quartz-MM5 counter PWM & ARM
            Quartz-MM5 Counter FM
            Quartz-MM5 Counter FM & ARM
            Quartz-MM5 PWM Capture
            Quartz-MM5 FM Capture

        Quartz-MM 10
            Quartz-MM 10 Digital Input
            Quartz-MM 10 Digital Output
            Quartz-MM 10 Counter PWM
            Quartz-MM 10 Counter PWM & ARM
            Quartz-MM 10 Counter FM
            Quartz-MM 10 Counter FM & ARM
            Quartz-MM 10 PWM Capture
            Quartz-MM 10 FM Capture

    Gespac
        GESADA-1
            GESADA-1 Analog Input (A/D)
            GESADA-1 Analog Output (D/A)

        GESPIA-2A
            GESPIA-2A Digital Input
            GESPIA-2A Digital Output

    Humusoft
        AD 512
            AD 512 Analog Input (A/D)
            AD 512 Analog Output (D/A)
            AD 512 Digital Input
            AD 512 Digital Output

    Keithley Metrabyte
        DAS-1800HR
            DAS-1800HR Analog Input (A/D)
            DAS-1800HR Digital Input
            DAS-1800HR Digital Output

    National Instruments
        GPIB-232CT-A
            GPIB-232CT-A Setup
            GPIB-232CT-A Send/Receive

        PC-DIO-24
            PC-DIO24 Digital Input
            PC-DIO24 Digital Output

        PC-TIO-10
            PC-TIO-10 Digital Input
            PC-TIO-10 Digital Output
            PC-TIO-10 Counter PWM
            PC-TIO10 Counter PWM & ARM
            PC-TIO-10 Counter FM
            PC-TIO10 Counter FM & ARM
            PC-TIO10 PWM Capture
            PC-TIO10 FM Capture

        PCI-6023E
            PCI-6023E Analog Input (A/D)
            PCI-6023E Digital Input
            PCI-6023E Digital Output

        PCI-6024E
            PCI-6024E Analog Input (A/D)
            PCI-6024E Analog Output (D/A)
            PCI-6024E Digital Input
            PCI-6024E Digital Output

        PCI-6025E
            PCI-6025E Analog Input (A/D)
            PCI-6025E Analog Output (D/A)
            PCI-6025E Digital Input
            PCI-6025E Digital Output

        PCI-6031E
            PCI-6031E Analog Input (A/D)
            PCI-6031E Analog Output (D/A)
            PCI-6031E Digital Input
            PCI-6031E Digital Output

        PCI-6052E
            PCI-6052E Analog Input (A/D)
            PCI-6052E Analog Output (D/A)
            PCI-6052E Digital Input
            PCI-6052E Digital Output

        PCI-6071E
            PCI-6071E Analog Input (A/D)
            PCI-6071E Analog Output (D/A)
            PCI-6071E Digital Input
            PCI-6071E Digital Output

        PCI-6503
            PCI-6503 Digital Input
            PCI-6503 Digital Output

        PCI-6508
        PCI-DIO-96
            PCI-DIO96 Digital Input
            PCI-DIO96 Digital Output

        PCI-MIO-16E-1
            PCI-MIO-16E-1 Analog Input (A/D)
            PCI-MIO-16E1 Analog Output (D/A)
            PCI-MIO-16E1 Digital Input
            PCI-MIO-16E1 Digital Output

        PCI-MIO-16E-4
            PCI-MIO-16E-4 Analog Input (A/D)
            PCI-MIO-16E-4 Analog Output (D/A)
            PCI-MIO-16E-4 Digital Input
            PCI-MIO-E4 Digital Output

        PCI-MIO-16XE-10
            PCI-MIO-16XE-10 Analog Input (A/D)
            PCI-MIO-16XE-10 Analog Output (D/A)
            PCI-MIO-16XE-10 Digital Input
            PCI-MIO-16XE-10 Digital Output

        PXI-6040E
            PXI-6040E Analog Input (A/D)
            PXI-6040E Analog Output (D/A)
            PXI-6040E Digital Input
            PXI-6040E Digital Output

        PXI-6070E
            PXI-6070E Analog Input (A/D)
            PXI-6070E Analog Output (D/A)
            PXI-6070E Digital Input
            PXI-6070E Digital Output

        PXI-6508
            PXI-6508 Digital Input
            PXI-6508 Digital Output

    Real Time Devices
        DM6420
            DM6420 Analog Input

        DM6430
            DM6430 Analog Input (A/D)
            DM6430 Analog Output (D/A)

        DM6604
            DM6604 Analog Output (D/A)
            DM6604 Digital Input
            DM6604 Digital Output

        DM7420
            DM7420 Analog Input (A/D)
            DM7420 Digital Input
            DM7420 Digital Output

    Softing
        CAN-AC2-ISA
            CAN-AC2-ISA with Philips PCA82C200
            CAN-AC2-ISA with Intel 82527

        CAN-AC2-PCI
            CAN-AC2-PCI with SJA 1000

        CAN-AC2 and CANopen devices
            Introduction

    Other
        RS-232 Driver Blocks
            RS-232 Setup
            RS-232 Send & Receive (Synchronous Mode)
            RS232 Send Block (Asynchronous Mode)
            RS232 Receive Block (Asynchronous Mode)

Printable Documentation (PDF)

Product Page (Web)