LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New to LabVIEW - need a simple VI that will turn a light on/off every 12 hours

Hi,
 
Can anyone help me to design a very simple VI that will turn a light (LED) on/off every 12 hours.  I am unsure of how to use the timers properly.  I am outputting to a Measurement Computing Minilab 1008.  I understand that this will be extrememly simple to people experienced with this software but I need this for my project as soon as possible so any help would be much appreciated.
 
Thanks
0 Kudos
Message 1 of 6
(5,002 Views)

Or anyone who can point me in the right direction, ie: examples

Any help would be great

0 Kudos
Message 2 of 6
(4,989 Views)
There's a variety of ways you can do this. You didn't say which version of LabVIEW you're using, but if you have LV 7 or later, you can use the Timed Loop structure. Plop it on the block diagram, double-click it to open the configuration window and set the period to the corresponding number of milliseconds for your time interval. If you have an earlier verison of LabVIEW you can use a while loop and the Get Date/Time in Seconds function. Sort of like the attached figure. Not that sophisticated, but you did say simple.
0 Kudos
Message 3 of 6
(4,978 Views)
Here is another one (LV 7.1), almost the same as the previous post.

Lynn
0 Kudos
Message 4 of 6
(4,972 Views)
If you are interested in a timed loop, this is what it would look like.
0 Kudos
Message 5 of 6
(4,961 Views)
Thanks for the help.  The less sophisticated the better, needs to be simple for me!!
 
Thanks again
0 Kudos
Message 6 of 6
(4,960 Views)