User`s guide

getscope
the target PC. To change the number of samples, you need to create a
scope object and then change the scope object property
NumSamples.
sc1 = getscope(tg,1) or sc1 = tg.getscope(1)
sc1.NumSample = 500
The following example gets the properties of all scopes on the target PC
and creates a vector of scope objects on the host PC. If the target object
has more than one scope, it create a vector of scope objects.
scvector = getscope(tg)
See Also xPC Target target object methods getxpcenv and remscope.
xPC Target demo scripts listed in “xPC Target Demos” on page 6-9.
18-63