LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to build a 20 second time delay into a simple tank control program.a a colledge project. The tank must be full and the inlet valves closed before the timer starts. I am very new so any help would be greatly appreciated.

I am trying to build a 20 second time delay into a simple tank control program as a colledge project.  The tank must be full and the inlet valves closed before the timer starts switching on a mixer for the duration of the timing, after which the mixer stops and the sequencing can continue.  i have got the circuit to work except the timing all my logic is sound I just dont seem to be able to start the timing at the correct point. I am very new so any help would be greatly appreciated
0 Kudos
Message 1 of 5
(2,841 Views)
We won't do your project for youo, of course, but may be able to offer some suggestions.

Try to be as specific as possible in your questions.

Posting your VI can help also.

Do you have an indicator which shows when all the preconditions have been met? If not, try creating one. Once you have that working, use the boolean signal to start the timing.

One key feature of LabVIEW which is different from most text-based languages is dataflow. In LV a node (anything with a box around it) may being executing when all of its inputs have data ready. The position on the diagram does not control the order of execution.

Lynn
0 Kudos
Message 2 of 5
(2,835 Views)
Hi
 
You need to be a bit more specific in exactly what you want your LabVIEW program to do, at the moment you havent supplied enough information to us to give many useful suggestions, post the VI that you have so far, maybe that will help us more in engaging your issue.
 
Many of the shipping examples that are available in LabVIEW can be very useful, you can access these by either the LabVIEW splash screen or Help >> Find Examples. Also having the context help open whilst you are programming can be an enormous aid in understanding what particular VIs do, within the Context Help there is also the option to view detailed help which can also be very useful.
 
Regards
YatinM
NIUK & Ireland
0 Kudos
Message 3 of 5
(2,817 Views)
Hi.
I have attached a copy of the basic cct that I am working on.  I am trying to tie down my time delay problem before I expand it to include heaters and measured mixing controls. I am trying to start the 20 second delay when the tank is full and I have used the output from the delay timer in the logic through the cct.
 
Billy.
0 Kudos
Message 4 of 5
(2,812 Views)
Hi
 
If you are trying to create a situation where by if the tank is full and then 20 seconds later another event occurs then you can either use event structures or a case structure. In the case structure you have a 'case selector' which you have to wire, what this does is that when the case turns true the case runs. What maybe you could do is wire the 'Tank Full' into a case structure which then turns the case true and runs the code within it. Delay the case structure to start running 20 secs later.
 
Im I  understanding your issue correctly?
 
Regards
YatinM
NIUK & Ireland
0 Kudos
Message 5 of 5
(2,777 Views)