How Do I Continuously Add Elements in an Array

Updated Jun 7, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have multiple case structures that use different devices for each one. I want to output an array that lists out all the device names that have caused an error. Basically, I want to continuously update the array with new information as the VI is running.

Solution

In order to continuously add values to the array, the loop in question needs to take account all the elements it had previously come across. To pass data through loops this way, you need to use Shift Registers.

There is an example program for Adding Values to an Array by Iterating Through Each Value that can help you get started.

WAS THIS ARTICLE HELPFUL?

Not Helpful