05-26-2010 03:44 AM - edited 05-26-2010 03:45 AM
05-26-2010 06:51 AM - edited 05-26-2010 06:55 AM
You had defined the requirements and we were considering the code architecture.
Since you have the Professional version, I suggest the Producer/Consumer Design Pattern with Events. The events will be passed to the consumer loop to change the state when the operator makes a selection. You could use the explanations that I provide to document your code.
The code template, excluding the tanks and their associated code would look like this:
05-26-2010 06:58 AM
05-26-2010 11:45 AM
Well, the step before this one should be to define the events; both user and automated-control.
So a state diagram would come in very handy.
The next step would be to create the Front Panel controls for each of the controls that you identified in your design.
I'll do an example using the original code that I posted.
05-26-2010 12:49 PM
05-26-2010 01:16 PM
05-26-2010 01:35 PM