User`s guide

6 Using the Target PC Command-Line Interface
6-6
Manipulating Scope Object Properties from the
Target PC
This section shows some of the common tasks that you use with target objects
and their properties.
These commands create a temporary difference between the behavior of the
target application and the properties of the target object. The next time you
access the target object, the properties are updated from the target PC.
1 On the target PC keyboard, press C, or point the target mouse in the
command window.
The target PC activates the command window.
2 Type a scope property command. For example, to change the number of
samples (1000) to acquire in scope
2 of the model xpcosc, type
numsamples 2=1000
3 Type a scope property command. For example, to change the scope mode
(numerical) of scope
2 of the model xpcosc, type
scopemode 2=numerical
The target scope 2 display changes to a numerical one.
Aliasing with Variable Commands on the Target PC
Use variables to tag (or alias) unfamiliar commands, parameter indices, and
signal indexes with more descriptive names.
After you have created and downloaded a target application to the target PC,
you can create target PC variables.
1 On the target PC keyboard, type a variable command. For example, if you
have a parameter that controls a motor, you could create the variables
on
and
off by typing
setvar on = p7 = 1
setvar off = p7 = 0
The target PC command window is activated when you start to type, and a
command line opens.