Example Code

Plot Digital Waveforms from Array Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI Plot Digital Waveforms from Numeric Array

 

Description

This VI construct one or more two dimensional Boolean arrays that represent the digital data. Each column in the arrays will represent a digital line, and each row will represent different samples. After the Boolean array are constructed, Digital Waveform VIs to build/plot the graph are used.

Refer to Knowledge Base 3J18SJQ8: How Do I Plot Digital Waveforms on the Digital Waveform Graph?

 

Requirements

LabVIEW 2012 (or compatible)

  

Steps to Implement or Execute Code

  1. Enter the Array elements
  2. Run the VI 

Additional Information or References

VI Block Diagram

Plot Digital Waveforms from Array LV2012 NI Verified BD.jpg**This document has been updated to meet the current required format for the NI Code Exchange. **

 

Andy Chang
National Instruments
LabVIEW Control Design and Simulation

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.