LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous loop for flat sequence

Thanks Raven, careless mistake on my part. The program is running fine now.

 

However, based on the edited program how am I going to run the program without stopping? The reason is that this program is to move left to right and be fully automated until I press the stop button. Right now the program moves to the left, I press the continue button , it moves to the right and stops.

 

The reason that I've used flat sequence initially was to have the program run fully automated without stopping but I was faced with a dilemma when an error occurs, I'm not able to stop the sequence. With the program that J.DECHET gave, now I have a better understanding on how to implement error treatment. But I am still stuck with running the program without stopping.

 

To answer Norbert B I did considered the security features for hardware and human if should an error occurs in the program. I've made an emergency switch to terminate data transfer from the program to the model.

 

I still have a few more questions, hope you guys could help me.

 

1 - I still would need to run the program without stopping but how do I implement the existing DAQ Assistants to accomplish a fully automated model?

2 - How would I implement Producer/Consumer to the program? I do not have good knowledge on LV, however I still would need to learn more about it so that I may implement it into the program. I've read the help on NI for this but I'm still not sure, so any help on this would definitely help. 

 

Thanks!

 

0 Kudos
Message 11 of 14
(874 Views)
there is a producer/consumer template.  to get to it go to the mane menu of labview and go to "vi from template" and you should see it there.
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 12 of 14
(867 Views)
Thanks would try that out.
0 Kudos
Message 13 of 14
(865 Views)

The architecture you are looking for is a state machine.  Look under File/New... for a template of it, or search the forums.

It is the appropriate architecutre if you are looking to execute a series of commands, but also have the ability to change the order of execution during run time, or skip states all together under certain conditions such as errors.

0 Kudos
Message 14 of 14
(854 Views)