07-07-2021 08:53 AM
Hello community,
I was curious if anyone on here had any information on how to create a program that runs automatically. Below, I have mine (which I doubt will help because it requires other VIs), however, it runs perfectly as it should... the downfall is I have to be running it manually by clicking continue every time.
My goal would be to just have a Run and Stop button, in which once I hit run, and it would go through the entire test by itself.
If anyone has any examples, or guidance, that would be greatly appreciated.
Thank you in advance.
07-07-2021 09:16 AM
You really should look into using a State Machine. It would help you in your sequencing.
As far as automating this, you need to define better how these manual steps are done. Are you able to communicate with an instrument to set the position? What else are you doing before you hit one of the "continue" buttons?
07-07-2021 09:16 AM
I looked at your block diagram; then I stopped looking at it. The problem is that you've made no effort to produce a decent block diagram. Instead you created a mess. Now you want other people to look at your mess and help you figure out how to fix it. Count me out.