InterruptFcn

Specify callback function to execute when interrupt event occurs

Description

You configure InterruptFcn to execute a callback function when an interrupt event occurs. An interrupt event is generated when a VXI bus signal or a VXI bus interrupt is received from the instrument.

    Note   An interrupt event can be generated at any time during the instrument control session.

If the RecordStatus property value is on, and an interrupt event occurs, the record file records

  • The event type as Interrupt

  • 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

Was this topic helpful?