Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Time Delay

 Hi, I have a question,

 

Using Labview, how can I design a block diagram that makes an output turn on when the output voltage of a sensor is greater than 5 and then it have to be off after 5 seconds?

 

Thanks for the help

0 Kudos
Message 1 of 11
(20,171 Views)

Hi Nestor you can post your questions in Spanish in the Spanish forums. Here there are several things but basically you have to have a comparison that will turn true when the voltage of your sensor is higher than 5V, when this happens you can reset an elapsed time function configured to maintain the exit for 5 seconds.

Do you want it only stays 5 seconds on even if the  voltage goes down, or you want it to go 5 seconds on even if it stays over that threshold?

This link has a 6 hours tutorial that might be useful:

http://digital.ni.com/worldwide/mexico.nsf/aa700c70642cd17786256f8c00521a2e/6224ee1564f4688786256ed6...

 Cambio5seg.png

Best regards

Benjamin C
Principal Systems Engineer // CLA // CLED
0 Kudos
Message 2 of 11
(20,009 Views)

could you please translate the VI into English?

 

TQSmiley Happy

0 Kudos
Message 3 of 11
(19,571 Views)

My Spanish is pretty weak but I was able to figure out most of it from the context:

 

English VI.png

 

 

I hope that helps!

John Passiak
0 Kudos
Message 4 of 11
(19,562 Views)

could you please attach the VI in the Labview format because we are not able to found some of the VI since we are not very familiar with the software..

 

TqSmiley Happy

0 Kudos
Message 5 of 11
(19,503 Views)

The code is actually posted as a VI Snippet and should be usable in LV 2010 (Benjamin's code is saved for LV 2009).

 

If you are using one of these versions of LabVIEW, you can save the .png to your local machine, then simply drag it into the LabVIEW block diagram.  If you're interested, there is also a user-created plugin that will make it easier to drag the snippet to LabVIEW directly from a browser.

 

If you're on a previous version of LabVIEW, let us know and the code can be saved back to the necessary version.

 

 

Best Regards,

John Passiak
0 Kudos
Message 6 of 11
(19,478 Views)

sorry, we are using LABVIEW 8.6 version

Smiley Sad

0 Kudos
Message 7 of 11
(19,387 Views)

I've attached the VI saved for LV 8.6

John Passiak
0 Kudos
Message 8 of 11
(19,365 Views)

ok, tq very much Smiley Happy

0 Kudos
Message 9 of 11
(19,230 Views)

Hi There,

 

I have in my power system network 2 voltages. When the first voltage goes down from 2 volts to zero , the second voltage at the output goes from 12V to zero BUT after a delay time dt. I want to display that delay time dt using the Labview between these two voltages. I used a DAQ assistant and i can see both voltages on my waveform chart. it is very fast response. I am expecting to get 35ms.

 

Thanks.

 

 

 

0 Kudos
Message 10 of 11
(15,446 Views)