LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Active X Calendar Event

I would like to select an event case in an event structure when a new date is selected in an active x contained calendar. How do I get the active x event to be seen within Labview?
0 Kudos
Message 1 of 3
(2,842 Views)
Hi,
If you are using LV7 then you can use the time stamp control on your front panel and get a event whenever there is a time change ,but if you are using the activex time control then you will have to use some other option,like when ever there is a date chage in the activeX control you will have to make a indicator high for which you handle a case and write your program in that event case.
0 Kudos
Message 2 of 3
(2,842 Views)
Hello optobionics,

Assuming you are using LabVIEW 7.0 or 7.1, there are two shipping examples that deal with registering callback functions for ActiveX events: �ActiveX Event Callback for Excel.vi� and �ActiveX Event Callback for IE.vi�. This will give you some idea of what to do. It is actually up to the program being called through ActiveX as to whether the events are available or not. The following KnowledgeBase also discusses using callback functions.

Migrating from the ActiveX Event VIs to Using the Register Event Callback Node

If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answer
s to the discussion above and any additional information that may help, and I�ll be happy to look further into it.

Have a nice day!

Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,842 Views)