User`s guide
Working with Scope Objects
Note Method names a re case sensitive. You must type the entire name.
Property names are not case sensitive. You do not need to type the entire
name as long as the characters you do type are unique for the property.
Using the Method Syntax with Scope Objects
Use the method syntax to run a scope object method. The syntax
method_name(scope_object_vector, argument_list) can be replaced
with either
•
scope_object.method_name(argument_list)
• scope_ob ject_vector(index_vector).method_name(argum ent_list)
Unlike properties, for which partial but unambiguous names are permitted,
enter method names in full, and in lowercase. For example, to add signals to
the first scope in a vector of all scopes,
• In the MATLAB window, type
allscopes(1).addsignal([0,1])
• Alternatively, you can type
addsignal(allscopes(1), [0,1])
Acquiring Signal Data with Scopes of Type File
You can acqu ire signal data i n to a file on the target PC. To do so, you a dd
a scope of type
file to the application. After you build an application and
downlo ad it to the target PC, you can add a scope of type
file to that
application.
Note Remember to start your scope to acquire signal data.
For example, to add a scope of type file named sc to the application, and
to add signal
4 to that scope:
2-11