Skip to Main Content Skip to Search
Product Documentation

trigger - Initiate data logging

Syntax

trigger(obj)

Description

trigger(obj) initiates data logging for the video input object obj. obj can be either a single video input object or an array of video input objects.

The trigger function

obj must be running and its TriggerType property must be set to 'manual'. To start an object running, use the start function.

The trigger event is recorded in the object's EventLog property.

Examples

The trigger function can be called by a video input object's event callback.

obj.StartFcn = @trigger;

See Also

imaqfind | start | stop | videoinput

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS