xPC Target    

Scope Object Methods

The scope object methods allow you to control scopes on your target PC. The methods are listed in the following table

Table 8-2: List of Scope Object Methods
Scope Method
Description
set
Sets writable scope object properties to the specified value. For a list of writable values, use set(scope_object)
get
Returns the value of readable properties from a scope object.
addsignal
Adds a signal to a scope and a scope object. The signal is specified using the signal indices from the target object.
remsignal
Removes a signal from a scope and a scope object. The signal is specified using signal indices from the scope object.
start
Starts a scope, but does not necessarily start the acquisition of data. The acquisition of data is dependent on the trigger mode.
stop
Stops a scope and the acquisition of a data.
trigger
If TriggerMode='Software', starts the acquisition of data from the target application.
.


 Scope Object Properties Using Scope Objects