Table 7-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
|
setpar
|
Changes the value of a block parameter using the parameter index. Syntax: setpar parameter_index = floating_point_number
|
setvar
|
Sets a variable to a value. Later you can use that variable to do a macro expansion. Syntax: setvar variable_name = target_pc_command For example, you can type setvar aa=startscope 2, setvar bb=stopscope 2
|
showvar
|
Display a list of variables. Syntax: showvar
|
stoptime
|
Enter a new stop time. Use inf to run the target application until you manually stop it or reset the target PC. Syntax: stoptime = floating_point_number
|
viewmode
|
Zoom in to one scope, or zoom out to all scopes. Syntax: viewmode scope_number , or viewmode 'all'
|