LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Live values

Hello!

i'm making this program that is supposed to show live values from my mydaq, voltage measurement. Now my program only shows the value once while i press the start button, any tips?

0 Kudos
Message 1 of 5
(1,705 Views)

Well, your Event Structure sleeps until an event is generated.  If you want your data to be constantly gathered, then you could use the Timeout event on the Event Structure or use another loop to constantly read the data.


GCentral
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 2 of 5
(1,677 Views)

 I want to press the button to generate values until i press it again

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

@joali1 wrote:

 I want to press the button to generate values until i press it again


Sounds like you should be using another loop and put the acquisition inside of a case structure.  Your button should be set to "Switch When Pressed".  When the button is pressed, it will be TRUE and you acquire data.  Press it again, it will be FALSE and you no longer acquire the data.


GCentral
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 4 of 5
(1,651 Views)

Hei!

Still having some problems on my measurement thing. 

I want to meassure voltage and get live values to a graph. I don't want the program to stop measure until I press the same button again. Please help!:)

0 Kudos
Message 5 of 5
(1,604 Views)