LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3way solenoid valve control

Problem Description :
Hi



I want to control 3way solenoid valve position using Labview. Soleniod
valve is now connected to computer through PCI-6514. What I want to do
is
as follows
1) Set time to be in position1 from front panel (range 1-5 sec)

2) Set time to be in position2 from front panel (range 1-5 sec)

3) Keep changing the position 1&2 until hit stop button


To achieve this, how can I build block diagram ? Use DAQ assistant ? Or if you can tell me which part of the Labview manual to take a look at for a start, that would be appreciated.



Thank you!
0 Kudos
Message 1 of 3
(3,112 Views)
See attached. Since I don't have a PCI-6514, you will have to do that part on your own. Look for examples in the examples folder or the NI website. This is very basic stuff. If possible, take a Labview class or you will be asking these simple questions forever.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(3,112 Views)
You should first take a look at some of the example programs that are included in LabVIEW. By studying these, you will gain a better understanding of how LabVIEW block diagrams work and how to use your DAQ device.

In LabVIEW, go to the menu bar and choose Help >> Find Examples, this will open up the Example Finder. Go to Hardware Input and Output >> DAQmx >> Digital Generation. Here you will see an example called "Write Dig Port.VI." This is the basic example of writing to your DAQ device. You can write different digital data words to the ports of your DAQ card using this. You can then take this example and build on it to include loops, waits and other program controls that will perform your desired task.
0 Kudos
Message 3 of 3
(3,112 Views)