Events

NI Signal Generator

Events

An event is a signal generated by the NI device at a device state. Typically, events are configured to indicate when a specific hardware condition has been met. Refer to Features Supported to determine what events your signal generator supports.

Event Output Behaviors

Events can have one of three output behaviors. Refer to the following table to determine which output behaviors are supported by each event.

  • Toggle—Each instance of the event toggles between high and low. You can set the initial state of the event.
  • Pulse—Each event triggers a pulse for a specified period of time.
  • Level—While the event is active, it shifts high or low depending on the active state you specify.

Event Status

Events can return their status in two ways. Refer to the following table to determine what status can be read for each event type.

  • Live—Returns the current state of the event.
  • Latched—Returns whether the event has ever been active.

The following table describes the event output behaviors and statuses supported by NI signal generators:

Event Name Description Output Behavior Status
Ready for Start Event Ready For Start event indicates that the signal generator is configured and ready to receive a Start trigger. Level Live
Started Event Started event indicates when the signal generator has received a Start trigger and is generating a waveform. Level, Pulse Latched
Marker Event A Marker is an event that the device generates in relation to a waveform that is generated. The event is configured to occur at the time that a specific location or sample n if the waveform generates on the CH 0 connector. If the waveform loops multiple times in a segment, the marker generates each time the waveform loops. Pulse, Toggle Latched, Live
Data Marker Event A Data Marker is an event that the signal generator generates in relation to the data bits of a waveform that is generated. Up to four bits can be configured to export to any valid destination on the signal generator. Level N/A
Done Event The Done event indicates that the generation of the previous waveform is complete. Level, Pulse Latched

Event Delays

NI 5402/5406/5412/5421/5422/5441/5442 devices support event delays that can manually delay Marker, Started, and Done events so that they are aligned on a particular Sample clock period. For more information about event delays, refer to the Event Delays topic.