This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Plot Certain Data Elements from an Array in LabVIEW

Updated Nov 29, 2023

Reported In

Software

  • LabVIEW

Issue Details

Is there a way to only plot certain data elements from and array? I only want to plot the element if it is at a certain range.

Solution

By using the Conditional Tunnel with the Auto-Indexing Tunnel mode, you can determine which elements get built into an array, depending on if they meet a certain criteria.
  • To enable the Conditional Tunnel right click on the output tunnel of your loop and select Conditional as the additional Tunnel Mode.

Here is an example on how to break down an input array and only plot specific elements from that array. As shown, only elements in the array above 0 are plotted in Waveform Graph 2.

Additional Information

​If you want to use an example LabVIEW VI, you can use the community example to perform Custom Array Manipulation Using Conditional Loop Tunnels.