From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Elements from an Array

I have a program that is sending an array to my labview vi. the size of the array is constantly changing with each new update(1 per second). As a new update is sent in, a new row is added to the array. I need to be able to keep the older elements in the array, but have only the most current row sent to a display. how can I do this?
0 Kudos
Message 1 of 3
(2,743 Views)
One additional thing: To test the file now, I'm reading files from a spreadsheet file, and want it to only display the last row.
0 Kudos
Message 2 of 3
(2,742 Views)
Hello JMorgan,

This can be accomplished by appending the new row to the current array and changing the array's index value to the new data's location.

Attached is a small example to get you started.

Regards,

Matt F
Message 3 of 3
(2,705 Views)