04-09-2009 12:42 PM
I have an instrument that I have been running with a simple state machine program that has work well for myself. The instrument has a number of valves and also involves serial communication to control heaters and flow controllers. I now have several other users that would like to use the instrument but with there own sequence of operation steps and timing for the instrument. I need write a new VI that allows other users to some type of front panel array or a excel spreadsheet, or grid that would allow each user to create, save and run a sequence of (n) steps for turning on and off valves and sending string commands at specific times. What is the easiest way to do this? Could I use an excel spreadsheet with each column being a specific valve, string or time and have a that information be read by the VI? Is there an easier way to do this?
Thank you.
04-09-2009 01:54 PM - edited 04-09-2009 01:55 PM
This sounds like fun!
I'd do it using a string-based queued state machine (ala the JKI State Machine) and put a control on the front panel with a state to handle each option. Give it a shot; it should be relatively easy to create the sequencer this way.
Jim
PS - post your code and we can take a look at the easiest way to retrofit what you already have.