trigger

Manually execute trigger for analog input or output object

Syntax

trigger(obj)

Arguments

obj

An analog input or analog output object or an array of these device objects.

Description

trigger(obj) manually executes a trigger.

More About

expand all

Tips

After trigger is issued,

  • The absolute time of the trigger event is recorded by the InitialTriggerTime property.

  • The Logging property or Sending property is set to On.

  • The callback function specified by TriggerFcn is executed.

  • The trigger event is recorded in the EventLog property.

You can issue trigger only if TriggerType is set to Manual, Running is On, and Logging is Off.

Was this topic helpful?