From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I trigger a digital output using calendar

how do I trigger an digital output on/off at a certain time and a certain date using MS activeX or a similar calendar?
0 Kudos
Message 1 of 5
(2,593 Views)
Hi,
This should be a simple task by just reading the present time and date continuisely from the LV get date and time and compare it with the set{time and day when the DIO has to be on/off } and use it in a case structure for triggering. For setting the Alarm date and time you can use the Active X calender or LV7.1 Calender function.
vicky
0 Kudos
Message 2 of 5
(2,593 Views)
Hi Vichy
Thank you for your answer, but do you have or know where I can find an example VI for this problem?


Regards
Sjur
0 Kudos
Message 3 of 5
(2,593 Views)
Hi,
Plz See this example ,it should help you.
0 Kudos
Message 4 of 5
(2,593 Views)
Tankx lot, that did the trick

Regards Sjur
0 Kudos
Message 5 of 5
(2,593 Views)