LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update table in real time on front panel

Hello,

I currently run a labview routine and take 3 data points in one sweep,
i.e., I collect the frequency, power and noise reading in one swept
iteration. I do this for about 10 sweeps. However, only after the
last sweep is completed, the table gets updated with all the values at
one time. Is there a way to show the data after each interation of the
"for loop"?

Thanks,

0 Kudos
Message 1 of 6
(3,490 Views)

You would need to have the data flowing on the wire to the table indicator from within the For loop.  You may need to use shift registers and "append" type functions so that the previous data is maintained and the new data is added.  If the node for the table indicator is outside the for loop, the table will only get updated when the for loop completes.

If you are still unsure, please post your VI so we can look at it.

0 Kudos
Message 2 of 6
(3,479 Views)
Use Shift Register & place the Table inside the loop...
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 3 of 6
(3,468 Views)
Hello,
 
The case structures in the attachded VI contains random number generators to represent my data.  The steps show is exactly how I have my table set up.
 
Thanks.
0 Kudos
Message 4 of 6
(3,452 Views)
You have no case statement, you have sequence structure which is unnecessary, you did not place the table inside the loop, and you did not use a shift register. These are all basic functions in LabVIEW. There are some free tutorial at http://www.ni.com/academic/lv_training/how_learn_lv.htm that you might wnat to check out along with the modified VI.
0 Kudos
Message 5 of 6
(3,448 Views)

Hello,

THANK YOU!!! Your modified program worked exactly the way that I wanted it to.  I apologize, but in my, haste I mistakenly put the random numbers in the sequence structure instead of the case statement (I actually have the case statements in my routine).  The other errors, I am guilty of!

However, I sincerely thank you for your quick response and help.

Sincerely,

Rajesh.

0 Kudos
Message 6 of 6
(3,435 Views)