10-12-2016 09:21 AM
There are several ways to set up a state machine with several buttons as you want. However, I would suggest to go through the LabVIEW tutorials, since you are a complete beginner. It is a very slow way to learn such basics via this forum. This forum is much more efficient if you go thorugh FIRST the tutorials, and AFTER you ask questions here.
You can find free learning resources depending on your licence under this link (check links under section "Looking For Free Training"): https://decibel.ni.com/content/docs/DOC-40451
10-12-2016 09:28 AM
Dear Blokk,
thanks for telling me who I am.
Regards,
ES
10-12-2016 09:31 AM
10-12-2016 11:10 AM - edited 10-12-2016 11:36 AM
@Emanuele_S wrote:Dear Blokk,
thanks for telling me who I am.
Regards,
ES
I am sorry if you took my advice as a negative thing. I just try to help you, so you can gain the maximum out from this discussion forum. I remember back when I was a beginner in LV programming, it helped a lot to go through the tutorials. Beleive me, it does not take too much time, and will help you to proceed much faster via your learning curve. I do not know if you can access the "self-paced" learning material (LabVIEW Core 1, Core 2), if so, I really recommend you to take those. Actually you are lucky, because just recently NI came out with new updated versions of these teaching videos!
edit: from the NI website:
"
LabVIEW Core 1 (v2015)
10-12-2016 11:58 AM
Whenever i am starting a new project like this i like to begin with the user interface. It looks like youve got a chart and a numeric, which you replace with an enum you said. Simply place your buttons on the front panel. If you look under silve/boolean/buttons there is acutally some nicely decorated stop/paus/ play buttons for you. You can always create a blank button for acquire or just change the boolean text on it. I think you still need to look into the state machine a little more. Youve got the start of it, but your enum should be outside the while loop and you should connect it to a shift register.
10-13-2016 08:36 AM
Hi Blokk,
thanks. I am taking some time to do this today. I agree that if going through the course might look long at the beginning, it will help me save more time in the long term. Actually I attended a Labview course a couple of years ago, but as I have not used it a lot after that, so I have forgotten most of the basic concepts unfortunately ...
Thanks for your advice.
ES