08-10-2006 04:04 PM
08-10-2006 05:49 PM
In your case labeled "exhauset 24", you reset the state back to "valve 2 open".
Your program is way (way!!) too convoluted to do any serious code maintenance. Properly written, the same functionality can be achieved wich much less code. 90% of your code is duplicate. Why don't you use arrays?
08-11-2006 12:30 PM
08-14-2006 12:28 PM
Joel,
To find some example programs that show how to use arrays in LabVIEW first open the example finder (Help->Find Examples). Then navigate to the Fundamentals->Arrays and Clusters directory. Here you will find quite a few examples on how to use arrays in LabVIEW. Something else that might be good to look at would be the "Learn LabVIEW 8 in 3 hours" document that we have on our website. Here's a link to that document.
http://zone.ni.com/devzone/learningcenter.nsf/webmain/51739EA30FAB12F8862570920065734B
I hope this helps,
Justin D.
Applications Engineer
National Instruments