03-01-2013 02:14 PM
Hi Everyone, Apologies if this is the wrong section or if ive missed anything simple but im new to labview at the moment. I would like to create a simple user-programmable clock which shows a visible alarm (boolean LED) when the set time matches the current time. I can currently get the current time to display on a time stamp and know how to change a time stamp into a control so that I can enter a time and date into the time stamp. What I would like to do if possible is to make a system where by the boolean light will illuminate when a user inputtable time and date matches the current date and time. Is there also any way to allow the LED to remain illuminated until a reset button is pressed? Thanks in advance
03-01-2013 02:50 PM
See if this works ... (LV 2012 as you did not specify)
03-01-2013 02:55 PM
Hi, Thanks for that, where you have the alarm timestamp and 'get current date/time' going into the comparator with boolean output, I had set the comparator as = rather than > and I couldnt work out why it wouldnt function. Thanks
03-01-2013 03:42 PM
@rob378 wrote:
Hi, Thanks for that, where you have the alarm timestamp and 'get current date/time' going into the comparator with boolean output, I had set the comparator as = rather than > and I couldnt work out why it wouldnt function. Thanks
Probably because if you actually ever hit the EXACT time, you probably should've played lotto rather than spend all your luck matching a timestamp. 😉 I guess >= is technically more correct.
04-03-2013 01:26 AM
Hi, I am keen to explore into the alarm clock application. I am wondering if you have the lower version? I am using LV2011. Thank you very much 🙂
04-03-2013 06:05 AM
Hello ck76.
I saw your request and saved it for a previous version (LV 2011) as you asked.
See the attachment below.
Hope this helps!
04-04-2013 09:15 AM
Hi, thank you very much. It works great!
04-04-2013 09:15 AM
Hi, thank you very much. It works great!
04-04-2013 01:35 PM
04-05-2013 04:37 AM
great! noted on the link.
by the way, can I ask you another question? if i am running a VI, then at the click of a button, i wish to call another VI (sub VI) - just like doing a function call within a main program, and I wish to make this sub VI running in the foreground, how can I do so? so far, I am able to call the sub VI, but the sub VI is at the background. in other words, I have to switch window in order to see the sub VI.