LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I constantly update an array in LabVIEW?

I'm trying to use the Polar Plot VI under Picture Plots so that I can plot spatial data as it is received. The problem is that the Polar Plot VI accepts a data array input, but there is no way for me to update the input array as data is coming in.

 

Basically, I'm trying to create a module that does the following:

 

integer i = 0;

 

1. Take numerical input.

2. Place element in array at index i. Increment array index by 1, i=i+1;

3. Send array to Polar Plot VI.

4. Update picture plot to reflect current contents of array.

5. Repeat.

 

I just installed LabVIEW a few hours ago and have been trying to figure out how to achieve my goal by searching the web, but have not found anything useful.

0 Kudos
Message 1 of 2
(2,815 Views)

You should start with some tutorials. Then you should build your array in a shift register. There are plenty of examples in the forum.

0 Kudos
Message 2 of 2
(2,792 Views)