User`s guide

Target Object
6-11
Target PC Commands
The target PC commands allow you to control a target application on the target
PC from the target PC.
Target PC commands are entered in the target PC command window on the
target PC. You can also control the target application from the host PC using
target object methods. See “Target Object Methods” on page 6-9.
The commands are listed in the following table.
Table 6-3: List of Target PC Commands
Command Description
delallvar
Delete all variables.
Syntax:
delvar
delvar
Delete a variable.
Syntax:
delvar variable_name
getpar
Displays the value of a block parameter using the
parameter index.
Syntax:
setpar parameter_index
getvar
Display the value of a variable.
Syntax:
getvar variable_name
P#
Display or change the value of a block parameter. For
example,
P2 or P2=1.23e-4
Syntax: parameter_name, or
parameter_name = floating_point_number
S#
Displays the value of a signal. For example, S2.
Syntax:
signal_name.
sampletime
Enter a new sample time.
Syntax:
sampletime = floating_point_number