LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical Indicator Update Rate

Hello all.
 
I am reading and charting several voltages. I am also using a numerical display of the same data.
I would like the charts to be updated continuously, but the numerical displays only updated say every 250ms.
I cannot find an option for this, I have checked the forum and help pages and could not find anything similar.
 
Thanks
0 Kudos
Message 1 of 18
(4,157 Views)
Hello KevC,

just put the indicator into a (while) loop containing a "wait for next multiple" with your desired update time. Then connect the indicator with your data source. (Easiest solution could be a local variable to allow proper data flow...).

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 18
(4,150 Views)

Hi GerdW

Thanks for the reply.

Will this have the effect of updating everything in the while loop at such a rate, including the charts?

I have 5 numerical displays and 3 charts in total.

Thanks again

0 Kudos
Message 3 of 18
(4,147 Views)
Hello KevC,

roughly said: an indicator gets updated when new data is written into. So everything in a loop that gets new data is updated on the frontpanel.

But you asked "how to update a single indicator at a given interval?". So put just the needed indicators into the loop and leave the rest untouched.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 18
(4,137 Views)
Thats fine now, just checking.
 
Many thanks.
0 Kudos
Message 5 of 18
(4,129 Views)

Hello again.

Sorry to ask you to go over this again.

My VI consists of 1 while loop, where the tasks are configured outside, and everything that must be updated contiually is inside.

How do I use another while loop with the wait function to update the numerical indicator?

 

Best Wishes

Kevin

0 Kudos
Message 6 of 18
(4,097 Views)
Hi there,
 
A quick way to do it would be with local variables. Here's a little example that simulates a signal, graphs it continuously and outputs a numeric value every 500ms. I'd recommend putting some form of timing in the main loop to stop it eating all your CPU though!
 
 
Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 7 of 18
(4,058 Views)

Hello Sarah.

Thanks for the reply.

I had problems opening the attached file. I am using Labview v7.1.

0 Kudos
Message 8 of 18
(4,047 Views)

Sorry, it was in v8, here it is in v7.1.

Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 9 of 18
(4,020 Views)
Oh, i see.
 
Many thanks Sarah, Greatly appreciated.
 
Best Regards
Kevin
0 Kudos
Message 10 of 18
(4,022 Views)