xPC Target    

Scope Object Methods

The scope object methods allow you to control scopes on your target PC.

If you want to control the target application from the target PC, use target PC commands. See Target PC Command-Line Interface.

The scope object methods are listed in the following table

Scope Method
Description
set
Set writable scope object properties to the specified value. For a list of writable values, use set(scope_object)
get
Return the value of readable properties from a scope object.
addsignal
Add a signal to a scope and a scope object. The signal is specified using the signal indices from the target object.
remsignal
Remove a signal from a scope and a scope object. The signal is specified using signal indices from the scope object.
start
Start a scope, but does not necessarily start the acquisition of data. The acquisition of data is dependent on the trigger mode.
stop
Stop a scope and the acquisition of data.
trigger
Starts the acquisition of data from the target application using a scope.
  • If TriggerMode ='Software', then the scope can only be triggered by software using the method sc.trigger
  • If TriggerMode = 'FreeRun', 'Signal', or 'Scope', you can trigger the scope by software before the scope is triggers by one of the other modes.
.


  Scope Object Properties Using Scope Objects