Index Through Entire Row Using In Place Element Structure in LabVIEW

Updated Jul 15, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have a program in LabVIEW that uses the Index Array function to index through entire rows at a time. I now want to convert to using an In Place Element Structure for memory reasons, but I cannot figure out how to index through an entire row at a time. Is it possible to leave one of the indices unwired in the Array Index border node on the In Place Element Structure?

Solution

When using an In Place Element Structure you are forced to wire both indices in the Index Array function. It does not allow you to leave one unwired and index through an entire column or row at a time. 

Additional Information

The In Place Element Structure is designed to call data by reference to avoid making multiple copies of the array in memory. In order to call an array by reference, LabVIEW must ensure that the user cannot change the size of the array. Because of this, you can only index through an array one element at a time to ensure that no new elements are added to a row or column. 

WAS THIS ARTICLE HELPFUL?

Not Helpful