Well the following message was in answer to your response earlier, but apparently I type too slowly!

You address a few issues of safety, but keep revisiting them throughout the process, I can't stress how many times I have had supposedly "foolproof" systems find new and frightening failure modes! As I once pointed out to a professor when he gave a class assignment to design and write a "foolproof" data entry/control program, the best we could hope for is a "fool resistant" one, it seems "fools" are devilishly ingenious at find our program's flaws.
You don't need the state machine editor add-on to do states. A state machine is just a way of sequentially doing things that can break the sequence based on its internal logic. It (a state machine) gives you more flexibility to add steps that may only be conditional, for instance, if in your application you detect a fault in the pressurization part of your sequence a state machine would allow you to go directly to an error handling step rather than continue along with all the steps. It is quite scarey to be running experiments on living organisms running on Windows (or most other non-Real time operating systems), with software developed by inexperienced programmers. I'm not trying to belittle your abilities, but having programmed for three decades, the last 14 years using LabVIEW almost exclusively, I can say that the ways that programs will behave unexpectly grows exponentially with its complexity, and that is without the addition of hardware. Be careful, run the test numerous times without your test subjects (try a balloon at first, sounds like it might provide enough of simulation, although lungs are really quite fragile), while varying parameters, like unexpectedly disconnecting various pieces of hardware. Make sure that there are numerous places that you check limits before applying them, etc.
Good Luck.
Message Edited by LV_Pro on 04-13-2007 11:33 AM
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion