Output Digital Waveform Using CompactRIO

Updated Dec 20, 2023

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW Real-Time Module
  • LabVIEW

Driver

  • NI CompactRIO

Issue Details

Can I output a digital waveform using CompactRIO? I know NI offers the NI Digital Waveform Editor. Is there a similar software for CompactRIO?

Solution

Confirm you have installed a compatible version of the NI CompactRIO Driver . Examples for how to output digital signals on a CompactRIO can be found in LabVIEW by navigating to Help >> Find Examples >> Hardware Input and Output >> CompactRIO >> Module Specific IO >> Digital Output. For more advanced digital outputs than the examples can provide, custom LabVIEW and LabVIEW FPGA code will be required. There is not currently a software option similar to the NI Digital Waveform Editor that can be used with CompactRIO.

Additional Information

It is possible to read in custom waveform files and output the waveforms using CompactRIO. The NI-9402 is our fastest digital output C-Series module; It is capable of 20 MHz output rate. There is not a built-in way to read vcd or other custom waveform files, however, it is possible to write LabVIEW code to read in the files, then output them as digital waveforms. The general architecture would be to read the file containing the digital waveform into LabVIEW, then pass the waveform to the FPGA using a DMA FIFO. The FPGA code will output the waveform through the digital output C-Series module.