LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

capturing events fired by ACtiveX control

How can i capture events fired by ACtiveX control. i am using RegEventCallback vi, but that controls user driven events. i have an activeX control that fires events at unspecified time, now i want to know how to handle such events in LabView.
Rubina
0 Kudos
Message 1 of 2
(2,661 Views)

Hi InformaticsComplex,

Using the Register Event Callback VI is the correct method to capture events generated by an ActiveX control. Register Event Callback registers a VI to be called when the event occurs. I suggest checking out the LabVIEW Help articles Using ActiveX with LabVIEW and Register Event Callback as well as the following examples. I hope this helps!

Examples (all found in NI Example Finder):

  • ActiveX Event Callback for Excel VI: labview\examples\comm\axevent.llb
  • ActiveX Event Callback for IE VI: labview\examples\comm\axevent.llb
  • NET Event Callback for Calendar Control VI: labview\examples\comm\dotnet\Events.llb
  • NET Event Callback for DataWatcher VI: labview\examples\comm\dotnet\Events.llb
0 Kudos
Message 2 of 2
(2,641 Views)