User`s guide
Target PC Command Line Interface
2-19
Target PC Command Line Interface
You can interact with the xPC Target environment through the target PC
command window. This interface is useful with stand-alone applications that
are not connected to the host PC.
This section includes the following topics:
•“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”
Using Methods and Properties on the Target PC
xPC Target uses an object oriented environment on the host PC with methods
and properties. While the target PC does not use the same objects, many of the
methods on the host PC have equivalent target PC commands. The target PC
commands are case sensitive, but the arguments are not case sensitive.
After you have created and downloaded a target application to the target PC,
you can use the target PC commands to run and test your application.
1 On the target PC, press C or move the mouse over the command window.
The target PC command window is activated, and a command line opens. If
the command window is already activated, you do not have to press C. In
this case, pressing C is taken as the first letter in a command.
2 In the Cmd box, type a target PC command. For example, to start your
target application, type
start <enter>
Once the command window is active, you do not have to reactivate it before
typing the next command. For a list of target PC commands, see “Target Object
Methods” on page 2-20, “Target Object Properties” on page 2-20, “Scope Object
Methods” on page 2-21, and “Scope Object Properties” on page 2-22.