08-16-2007 08:55 AM
08-17-2007
01:34 PM
- last edited on
06-20-2024
05:02 PM
by
Content Cleaner
Hi Jason,
All you need to do is write a program that writes a digital output line to high at the beginning of the program and then writes the digital output to a low when you press the "stop" button. I would recommend taking a look here if you need help getting started with DAQmx. In addition, you can find many examples in the labVIEW example finder (Help » Find Examples » Hardware Input and Output » DAQmx). I went ahead and wrote a simple example that you can use to learn from. The example writes a digital output to high (to actuate the valve) and then writes the digital output low (to deactuate the valve) when you press the stop button. You will notice that I accomplished this with an Event Structure. If you need additional help getting used to LabVIEW, you might also consider our free LabVIEW introduction courses (3-hour and 6-hour). I would also recommend using Context Help (Control-H or Help » Show Context Help in LabVIEW) to assist you in using our labVIEW vi’s.
Note: The example is for LabVIEW 8.0 or later.
I hope this information helps,
Paul C.
08-17-2007
02:22 PM
- last edited on
06-20-2024
05:03 PM
by
Content Cleaner