Thanks for the replies!
In answer to your question, the program will be running a press.
This is a hydraulic ram that is used in a plastics molding factory, the ram is basically similar to a giant bottle jack that presses pellets of nylon into fittings (ie; PVC type fittings).
The variables are time and pressure, the user is going to have around 5 "recipes" depending on the material he is using.
I need the user to be able to specify something like 2000PSI for 15 seconds... Then I need the program to be able to reference the MI from the pressure transducer and say "hey I'm only at 300PSI" and then pressure up to 2000PSI and count down from 15 seconds...