Ensuring A Smooth Waveform Generation On NI PXIe-5423

Updated Sep 28, 2024

Environment

Hardware

  • PXIe-5423

Driver

  • NI-FGEN

The NI PXIe-5423 features a DC Offset mode which the user can shift the entire waveform according to user's preferences. However, under DC Offset, it involves messing with analog front end of the instrument, which (depending on specific values) may involve switching relays. These relays and other analog components take a bit of time to properly debounce/ settle.

The analog settings are actually applied to hardware during niFgen_Commit() and not niFgen_Initiate(). With just calling the niFgen_Initiate(), there will be a "delay" before the waveform generation as of below:image.png

  1. Call niFgen_Commit()/ FGEN Commit VI  before niFgen_Initiate()/ FGEN Initiate Generation VI .

After the step above, we can see a difference in the waveform generation as compared to the waveform before:image.png