User`s guide
16 Target PC Command-Line Inter face Reference
Target PC
Command Description and Syntax MATLAB Equivalent
ylimit ylimit scope_index
ylimit scope_index =
auto
ylimit scope_index =
num1, num2
sc.YLimit
sc.YLimit='auto'
sc.YLimit([num1 num2])
grid grid sc ope_ index on
grid scope_index off
sc.Grid = on
sc.Grid = off
Scope Object Property Commands
When you use the target PC command-line interface, scope object properties
are limited to those shown in the following table. Notice the d ifference
between a scope index (
0, 1, . . .) and the MATLAB variable name for the
scope object on the host PC. The scope index is indicated in the top left corner
of a scope window (
SC0, SC1,. . .).
If a scope is running, you need to stop the scope before you can change a
scope property.
The following table lists the syntax forthetargetcommandsthatyoucan
use on the target PC. The equivalent MATLAB syntax is shown in the right
column, and the scope object name
sc is used as an example for the MATLAB
methods
Target PC MATLAB Equivalent
numsamples scope_index =
number
sc.NumSamples = number
decimation scope_index= number sc.Decimation = number
scopemode scope_index = 0 or
numerical, 1 or redraw, 2 or
sliding, 3 or rolling
sc.Mode = 'numerical',
'redraw', 'sliding', 'rolling'
16-6