LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset data from DAQ assistant when time has elapsed

Hi!

 

I need help with a problem I have.

 

I have a a speedometer that is measuring with wind-speed. The result is presented in a gauge and I need it to reset every 5 sec with a time elapsed thing. The result after 5 sec should be displayed in a digital indicator. How can I do this?

 

I have attached a pic to show how I have done so far.

 

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

@SpO0KIe wrote:

Hi!

 

I have a a speedometer that is measuring with wind-speed. The result is presented in a gauge and I need it to reset every 5 sec with a time elapsed thing. The result after 5 sec should be displayed in a digital indicator. How can I do this? 


Why are you keeping the data acquisition code and "time elapsed thing" in different loops?

Do you want to update the indicator once every five seconds? If so, then use this so called "time elapsed thing" and there should be one boolean output "Time has elapsed", use this output together with a case structure.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 6
(3,115 Views)

@moderator1983 wrote:

Why are you keeping the data acquisition code and "time elapsed thing" in different loops?

Do you want to update the indicator once every five seconds? If so, then use this so called "time elapsed thing" and there should be one boolean output "Time has elapsed", use this output together with a case structure.


I am very new to LabView so I don't understand all the stuff. I want to be able to see vaule of the DAQ Assisant measurement the whole time but to reset it to 0 every 5 sec. Maybe I can't reset the DAQ itself but the vaule sent from the gauge from DAQ, I want it to start from 0 every 5 sec (When the "Elapsed time" has counted to 5 sec). 4

 

I hope you understand what I mean.

 

Thanks for fast reply. 😄

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

@SpO0KIe wrote:
I want to be able to see vaule of the DAQ Assisant measurement the whole time but to reset it to 0 every 5 sec. Maybe I can't reset the DAQ itself but the vaule sent from the gauge from DAQ, I want it to start from 0 every 5 sec (When the "Elapsed time" has counted to 5 sec). 4

I hope you understand what I mean.

Thanks for fast reply. 😄


Your intension is not clear to me... Smiley Indifferent

If the Gauge is connected to the output of the DAQ, why would you like to set it to zero after every 5 seconds...?? Well even if you write a code to make this happen, how exactly this gonna help you... because the lower loop (which contains DAQ) is running really fast (there is no delay element in it) and for a moment (everytime after 5 seconds elasped) it will be set to zero and again it will display you the value coming from the DAQ and I'm pretty sure, you'll not be able to see that zero value on the Gauge with your naked eyes... You'll be needing a high frame capturing camera to observ that ZERO MOMENT.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 6
(3,073 Views)

What is the point of setting the value back to 0 every 5 seconds?  What exactly are you trying to accomplish by setting it to 0 even though you are still reading?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(3,067 Views)

I will try to explain a bit better now.

 

I have an anemometer and I want, when I spin it (or the wind spins it), to show to value on a gauge. Then every 5 seconds the gauge resets and counts from 0 again. I hope you understand better now, I cannot explain better than that. Also I don't need the DAQ to reset, it can measure values the whole time.

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