07-01-2009 08:44 AM
Ok,
I think that I have solved the problem with the analog outputs. It seems like it is working, although I am not really sure what I did different, I guess trying again is all it took. So thank you for your input.
Now I am working on re-building this in the state machine. I will eventually be running a sequence of 12 tests, for many of them the pressure setup is different. Would it be adviseable to put my pressure setup in one state and the test program in the next state or have the pressure setting and test sequence in the same state?
07-01-2009 09:06 AM
Hi Shawn,
There are often multiple acceptable ways to break up a state machine. Usually I just try to think of each independent action as one state (Initialization, Acquisition, Processing, Cleanup - for instance).
Breaking it up the way you're discussing is probably fine, as long as you pass required data between the states with a shift register.