From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-13-2014 03:09 PM
Dear All
I'm working on multiphase flow project, what I need to do at each set of experiment is to control the air flow and the liquid flow manually. The problem with manual system you can't get exact flow rate if you want to repeat the experiments. Therefore I should be grateful if anyone explains to me how to control these valves through labview. ( I've Cdaq 9178 with NI:9203 and Ni :9472)
Best Regards
Rajab
05-13-2014 03:31 PM
You need to explain exactly what you are controlling and how. Do you just have motorized valves that you need to control with Labview? Do you just feed on/off to a motor on the valves? If so, you presumably just need to use a timer to switch the motors on and off. Does the valve have a positon indicator that you can read with Labview? If so, you can use a simple while loop to adjust each valve to an exact position. Do you have a way of measuring flow that you will monitor continuously and adjust valves? If so, you just need a loop with something like case structures that run the motors in either direction based on the flow readings.
05-13-2014 05:30 PM
Hi Stephencox
Thanks for your reply
Actually I've not got the valves yet, however they won't be on and off valves. it should be able to open like 10% 20% , ....etc. so I can adjust the desired flow. Basically instead of increasing the flow manually I want to use the control valves.
I just want it to have an idea before ordering any valves.
1. If possible, what kind of valves to order?
2. Is the opening position will be controlled by the signal generated, example at 1v,, closed, 2 v 10% open .... 5v fully open?? If yes how to control the amplitude of the generated signal?
3. I've flow meter on both lines to measure the air and liquid flowrate, how to adjust the valve position with the flowmeter reading??
4. Is there any examples in the Forms that I can start with??
Best Regards
Rajab
05-14-2014 11:29 AM
Hi Rajab,
Are you using the 9203 to acquire the signals of the flowmeters? Do you want to use the 9472 for controlling the valves?
Hope this helps.
05-14-2014 11:35 AM
05-14-2014 11:37 AM
05-14-2014 12:45 PM
Eh Why not,
a current project uses a few EPVs to mix water of various hardness (measured in grains) into two "Blend tanks" The Valves are linked there to the spec and operate with 4-20mA current.
the Resource module is attached as an example of how this control is achieved. The Task contains 4 channels of AO from a NI 9265
05-21-2014 09:13 AM
Thanks for your help. I can't find the attachment. could you please attach the example?
Regards
Rajab
05-21-2014 09:15 AM - edited 05-21-2014 09:16 AM
It is a VI snippet. Just drag and drop the picture from your browser to your block diagram. Though depending on security settings, you may need to drag and drop it from the browser to the desktop first (then give permission for that to occur), then drag the file from the desktop to the block diagram.
05-21-2014 09:20 AM
Hi Petru
Thanks for you support, sorry couldn't reply any earlier.
I’m still contacting different supplier to get the best option, however I suppose to use the 9472 for controlling the valves, since I don’t have (AO unit). I think PID control is required.
Best Regards
Rajab