User`s guide

6 Using the Target PC Command-Line Interface
6-2
Target PC Command-Line Interface
This interface is useful with stand-alone applications that are not connected to
the host PC. You can type commands directly from a keyboard on the target PC.
As you start to type at the keyboard, a command window appears on the target
PC screen. This section includes the following topics:
“Using Target Application Methods on the Target PC” on page 6-2
“Manipulating Target Object Properties from the Target PC” on page 6-3
“Manipulating Scope Objects from the Target PC” on page 6-4
“Manipulating Scope Object Properties from the Target PC” on page 6-6
“Aliasing with Variable Commands on the Target PC” on page 6-6
For a complete list of target PC commands, refer to Chapter 13, “Target PC
Commands.”
Using Target Application Methods 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.
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.
The target PC command window is activated, and a command line opens. If
the command window is already activated, do not 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
3 To stop the application, type
stop