xPC Target    
trigger

Software-trigger the start of data acquisition for one or more scopes

Syntax

MATLAB command line

Arguments

scope_object_vector
Name of a single scope object, name of a vector of scope objects, list of scope object names in a vector form [scope_object1, scope_object2], or the target object method getscope, which returns a scope_object vector.

Description

Method for a scope object. If the scope object property TriggerMode has a value of 'software', this function triggers the scope represented by the scope object to acquire the number of data points in the scope object property NumSamples.

Note Only scopes with type host store data in the properties scope_object.Time and scope_object.Data.

Examples

Set a single scope to software trigger, trigger the acquisition of one set of samples, and plot data.

Set all scopes to software trigger and trigger to start.


  stop I/O Block Reference