Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Output to control a Solenoind Valve

I am a rookie user in LabVIEW (2010) and control field.

I am now have a task to develop a control software to control two solenoid valves.

The solenoid valves are 24V (Parker's P2E-KV32C).

My digital Output device is NI9485.

The operating behavior is as follows:

The first valve will be opened in 0.1 second (user adjustable) and off. then the second valve will be opened in 0.1 second (user adjustable) when the first valve is turned off.

The counter (ON/OFF) for this operation is also provided by user.

These operation can be "Pause" and The counter can be "Reset".

Can somebody help me to build this sample VI ? I am really appreciated.

 

Joe

0 Kudos
Message 1 of 6
(4,281 Views)

Hi Joe,

 

I would suggest you to look at a state machine as a possibility for implementing your application. Using a state machine you can control the action of your valve depending on a combination of events such user input.

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 2 of 6
(4,242 Views)

Hi, Efrain,

 

Could you provide me some links or sample codes so that I can have reference ?

Thanks !

 

 

0 Kudos
Message 3 of 6
(4,190 Views)

Sure, here are some links to documentation and examples:

 

This tutorial will explain the theory of implementing state machines:

Application Design Patterns: State Machines

 

This example will show you how to get started bulding a state machine:

Simple State Machine

 

Basically, the main component of a state machine is an Event Structure. You will see that using this structure you can register user input so that the user can choose which section of the code will execute. 

 

 

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 4 of 6
(4,176 Views)

Hello All,

 

I need to control 3 solenoid valves (MHP1-M1H-3/2o-M3-PI), using labview. The activation protocol is like this:

 

valve1 On for 2 seconds, and then Off for 1 sencond, this should start with pressing a bottom and stop after specific number of on-off cycles (for example after 100 times on-off), again with bottom

 

valve 2 and 3 have the same protocol, but they should start after a 'delay=1 second' respectively after eachother. 

 

Since I am a new user to Labview, could you please help me how I can programm these tasks.

 

Thank you very much.

0 Kudos
Message 5 of 6
(3,643 Views)

@Matin88 wrote:

Hello All,

 

I need to control 3 solenoid valves...


duplicate

0 Kudos
Message 6 of 6
(3,614 Views)