lewdrake Posted April 11, 2004 Report Share Posted April 11, 2004 This LabVIEW V6.1 example State Diagram illustrates how to make any VI startup with the same control settings that it had when it last was closed. It also shows a technique for creating a State machine with states that are defined by a text file and that therefore can be easily changed without recoding. Analog and digital outputs (called actuators in the example) are generted that are a function of each state. These are also defined by a text file to meke programming changes easy. The example uses 3 digital inputs to effect state changes. For convenience though, the example uses the numbers 0 - 7 as inputs to change states and the 3 digital inputs are simply shown as outputs. See the code for more details. Start the program and click on the DI simulator (0 - 7) to effect a change of state. The diagram will display the results. You can edit the State Transition Table to reconfigure the State diagram or edit the Actuator Table to change the outputs associated with a State. Lew Drake Process Automation Corporation 908 359-1011 Download File:post-12-1081709930.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.