Output Digital Waveform Using CompactRIO

Updated Mar 6, 2018

Reported In

Hardware

  • NI-9401
  • NI-9402
  • NI-9403

Software

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

Driver

  • NI-RIO

Issue Details

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

Solution

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. 

WAS THIS ARTICLE HELPFUL?

Not Helpful