This is the LabVIEW code I use to run my test stand. In addition to the code and a bunch of National Instruments hardware, you'll need the custom failsafe relay box described in the Test Stand section. See the README in the .zip file for full details. The code listed here is licensed under the GPL.

RocketTestStand v7 7/4/07