ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a user generated spreadsheet or array

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.

Danny
0 Kudos
Message 1 of 2
(2,739 Views)

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.

Message Edited by jcarmody on 04-09-2009 01:55 PM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 2
(2,728 Views)