Loading Separate Waveform Data on PXIe 54XX Using NI-FGEN

Updated Jul 24, 2018

Reported In


  • PXIe-5413
  • PXIe-5423
  • PXIe-5433
  • PXIe-5450
  • PXIe-5451

Issue Details

I need to load 2 separate waveform data onto each channel of my PXIe 54XX, with only one NI-FGEN session so that I can use TCLK to trigger both channels simultaneously. How can I do that?


 You can use the Arbitrary Waveform output mode in NI-FGEN to generate waveforms on two channel devices. You can find the example code on how to do so by opening LabVIEW --> Help --> Hardware Input and Output --> Modular Instruments --> NI-FGEN --> Arbitrary Waveform Generation --> Fgen Arbitrary Waveform (Dual Chaanel).vi

1. Select the FGEN Resource Name as configured in the Measurement & Automation Explorer.
2. Select the Sample Clock Source that will be used.
3. Specify the Sample Rate (S/s) that will be used.
4. Specify the waveform that will be generated on CH0 with CH0 Waveform Information.
5. Specify the waveform that will be generated on CH1 with CH1 Waveform Information.
6. Specify the # of points that both waveforms will have.
7. Specify the gain on CH0 with CH0 Gain and the gain on CH1 with CH1 Gain that will be used.
8. Run the VI.
9. You can change the CH0 Gain or CH1 Gain values on-the-fly. If you want to update any other parameter, click Update to abort the current generation task and to restart the generation with the new configuration of the NI Function Generator.
10. Click Stop to stop the VI.

Additional Information

The following devices support dual channel arbitrary waveform generation:
  • PXIe-5413
  • NI PXIe-5423
  • NI PXIe-5433
  • NI PXIe-5450
  • NI PXIe-5451 


Not Helpful