LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart update rate

Solved!
Go to solution

Hello,

 

I would like to create a vi containing a while loop, however I want charts data to be updated every second. Which is the proper way to do it so?

 

Thank you in advance

0 Kudos
Message 1 of 5
(3,971 Views)

Hi,

You can make 2 states, wait and update. In wait state, you can put 1 sec delay and in update mode you can update chart.

I think this is the simple way. You can have another loop acquiring/generating data which you want to display on the chart.

 

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 5
(3,967 Views)

Hello gak,

 

Thank you for your reply. Could you please be more specific or attach an example vi.

 

Best regards

0 Kudos
Message 3 of 5
(3,958 Views)
Solution
Accepted by topic author LW42

I'm not sure to understand what you mean...

 

Is your while loop acquiring/generating data at more than 1Hz?

If yes, I assume you want to update the chart only each 10 or 100 loop iteration.

 

Here is a quick example (documented in LV 8.6).

 

Hope it help


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 5
(3,953 Views)

Dear Titou,

 

Thank you very much for your suggestion.

 

Best regards

0 Kudos
Message 5 of 5
(3,938 Views)