Chapter 2
NI 5450 Overview
©
National Instruments Corporation
2-81
NI PXIe-5450 User Manual
Data Mask
The signal generator supports analog data masks and static values. The data
mask allows you to shield bits of the data to be replaced with the
corresponding static value bits. For example, a mask of 0xFF00 and a static
value of 0xAAAA applied to a DC waveform with a value of 0x1111
produces a DC waveform with a value of 0x11AA.
NI-FGEN supports separate and independent analog and digital data masks
and static values. The analog data mask and analog static value apply to the
digital data applied to the DAC, and ultimately to the signal on the analog
output terminal. You can configure an analog data mask by calling the
Analog Data Mask or Analog Static Value properties or the
NIFGEN_ATTR_ANALOG_DATA_MASK
and
NIFGEN_ATTR_ANALOG_STATIC_VALUE
attributes.
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.
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.