03-25-2021 02:48 PM
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?
03-25-2021 03:26 PM
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.
03-25-2021 03:28 PM
I want to press the button to generate values until i press it again
03-25-2021 05:23 PM
@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.
03-28-2021 09:57 AM - edited 03-28-2021 09:59 AM
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!:)