Corrupt Analog Output From NI 5782 Default Example Project

Updated Apr 28, 2023

Reported In

Hardware

  • NI-5782

Software

  • LabVIEW
  • LabVIEW FPGA Module

Issue Details

I was previously using NI 5782 with NI LabVIEW 2016 but recently updated my LabVIEW and FlexRIO drivers to 2018 versions. When running the default example project ‘NI 5782 - 500MHz Generation’, the analog output channel 0 (AO0) appears distorted on the oscilloscope after this update.
Corrrupt Waveform on AO 0 of NI 5782 - Observed Using an Oscilloscope
 

Solution

This is a known issue in the versions of NI LabVIEW and NI FlexRIO drivers later than 2016. The default example ‘NI 5782 – 500MHz Generation’ available in NI Example finder has an incorrect number of synchronizing registers for FPGA I/O “AO 0 N-3”. The following steps can be followed to fix this issue:
  1. Right-click the “AO 0 N-3” IO under your "FPGA target>>IO Module" in the default example project ‘NI 5782 – 500MHz Generation’ and open “Properties”.Graphical user interface, text, application  Description automatically generated with medium confidence
  2. Set the “Number of Synchronizing Registers for Output Data” to ‘0’. Some versions may incorrectly set this value to ‘1’ causing data corruption. Graphical user interface, text, application  Description automatically generated
  3. Recompile the bitfile for your FlexRIO target
  4. Call the newly generated bitfile in the host VI.