Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

TriggerFcn

Specify callback function to execute when trigger event occurs

Description

You configure TriggerFcn to execute a callback function when a trigger event occurs. A trigger event is generated when a trigger occurs in software, or on one of the VXI hardware trigger lines. You configure the trigger type with the TriggerType property.

    Note   A trigger event can be generated at any time during the instrument control session.

If the RecordStatus property value is on, and a trigger event occurs, the record file records

  • The event type as Trigger

  • The time the event occurred using the format day-month-year hour:minute:second:millisecond

Characteristics

Usage

VISA-VXI

Read only

Never

Data type

Character vector

Values

The default value is an empty character vector.

See Also

Functions

record

Properties

RecordStatus, TriggerLine, TriggerType

Was this topic helpful?