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

String

Values

The default value is an empty string.

See Also

Functions

record

Properties

RecordStatus, TriggerLine, TriggerType

Was this topic helpful?