LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best Way to Control Solenoid Valves?

I am in the beginning stages of designing a LabVIEW program that will need to control 13 solenoid valves individually. The solenoid valves will control 13 gas lines that will be fed into 1 gas analyzer.  Each solenoid valve will need to opened one at a time, and the %CO2 concentration will be logged in Excel with the corresponding valve number and time.  This process will be repeated for 14 days continously.

For Example:

  Valve     %CO2     Time
     1            10%       10:30
     2            9.5%      10:31
     3            9.75%    10:32
     ...            ........      .........

What would be the best method to control these valves in LabVIEW, keeping in mind  synchronization and timing is very important for this project?

Thanks

0 Kudos
Message 1 of 42
(9,868 Views)
What are your timing requirements.  How fast and how deterministic do you need to cycle these valves.  You show in your sample data a 1 second time interval.  Is this typical?
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 42
(9,857 Views)


Sorry, I meant to put an "am" beside the times.  It is going to take at least a minute for each gas line to be sampled by the gas analyzer, because the gas from the previous line needs to be completely flushed out so that it doesn't effect the measurement with the current valve. Also, it will allow the reading on the analyzer to steady out.  The valves themselves only take a few milliseconds to respond.
0 Kudos
Message 3 of 42
(9,848 Views)
Also, will the valves always be operated in the same sequence or can it vary from run to run?

What will the system do if you have a power outage?

If as SteveA asked you are doing this on a one second interval, you will have over a million lines in your data file. Do you really want to open and close the file a million times? Do you really want to handle that with Excel?

How much user interaction is required while it is running?

Lynn
0 Kudos
Message 4 of 42
(9,846 Views)
It will be the same run-to-run.  Also, I mentioned in my previous reply that each sample will take at least a minute.  I just forgot to put an am next to the time.

User interaction with the program will be minimal.  The user will enter some information about the test before starting like: Name, length of test, Operator Name, etc...  Also, they will need to pause the test at least once a day to peform routine tasks on the physical apparatus and resume the test after the task has been completed.


0 Kudos
Message 5 of 42
(9,841 Views)

What is the voltage and current of your valves?

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 6 of 42
(9,810 Views)
They are 24 V solenoid valves.  We are going to use the NI 9472 to control the valves.  I am really interested in how to synchronize these valves sequentially one at a time and record %CO2 concentration and time of measurement to an Excel file


0 Kudos
Message 7 of 42
(9,800 Views)
Are you using the 9472 in a USB chassis or compact RIO?  Lot's of questions I know, but it makes a big difference.
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 8 of 42
(9,797 Views)
It will be in the USB chassis
0 Kudos
Message 9 of 42
(9,795 Views)
So do you have an analog input that will be used to measure the results from the gas analyzer? 
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 10 of 42
(9,793 Views)