Events
- Updated2023-09-08
- 2 minute(s) read
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.
- 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.
- 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 | Ready For Start event indicates that the signal generator is configured and ready to receive a Start trigger. | Level | Live |
Started | Started event indicates when the signal generator has received a Start trigger and is generating a waveform. | Level, Pulse | Latched |
Marker | 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 analog output connector. If the waveform loops multiple times in a segment, the marker generates each time the waveform loops. | Pulse, Toggle | Latched, Live |
Data Marker | 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 | The Done event indicates that the generation of the previous waveform is complete. | Level, Pulse | Latched |