LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question of the day!! Control the appearence frequency of an indicatorvalue without using arrays?

Hello All
I need to display some datavalues from a device, and these data are displayed in a frequence up to every 5 ms, and because of that I can't really see the vaules wich are beeing displayed. I need to see those values but not need to see all of them, Meaby every 10'th or 20'th or 50'th value, because the other values are saved in another file, so I can se them another time...
 
I will not use buildarrays to build an array up and then take every 10'th values or so, coz it is not possible with my task, coz i'm using continous reading in a While loop that must run all the time if not stoped manually and by that the memory will be a problem.
 
Any suggestions will be Heaven
 
Regards
'beginner'
Zamzam   
HFZ
0 Kudos
Message 1 of 4
(2,505 Views)
Hi Zamzam,

What about this solution : just update the indicator once every 10 or 20 or 100 loop execution ?
You could even replace the constant value "divisor" by the result of calculated number to display your value at a constant rate even if the rate changes.

Hope this help 😉



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

Epictetus

Antoine Chalons

Message 2 of 4
(2,503 Views)

Hey I'm sertainly NOT ... gay!!!!! (if you're a maaan)

But I love you maaaaan.... thanks for that !

You are stared!!!

 

Zamzam

 

HFZ
0 Kudos
Message 3 of 4
(2,494 Views)
Thanks for the stars... I'm glad I helped you 🙂

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

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 4
(2,489 Views)