LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX event callback problem

Hi,
I am building an application that interacts with Microsoft Power point, specifically with the current presentation being shown.  I am using the 'reg event callback' function to find when a presentation starts ('SlideShowBegin' event) moves to the next slide ('SlideShowNextSlide' event) and when it ends ('SlideShowEnd' event).  If i just register one of these functions it works fine, but if I try to register all three only one works and its always the first one i registered.

Has anyone got any ideas why this might be?  Is there anything I can do with the 'event callback refnum' to check the registration has occured?  The registration never returns an error!

Thanks,

Tom
0 Kudos
Message 1 of 7
(3,481 Views)

Hello,

This was a bug I experienced in LV7.0. NI advised me to use the old style event VI's (included with LV7.0), or to wait for the next version of LabVIEW. I hope you are using LV7.0 - Does anyone know if this is fixed in LV7.1 or 8.0? I could not find a good work-around for this bug. Previous posts exist on this subject. Good luck.

Martin

Certified LabVIEW Architect
0 Kudos
Message 2 of 7
(3,472 Views)
Nope!  I am using LabVIEW version 7.1.1 and the problem still appears to exist.  Where do i find these old style event VIs?

Thanks,

Tom
0 Kudos
Message 3 of 7
(3,463 Views)

I hope this bug has been fixed in LV 8.0 - can anyone confirm?

The old style VIs can be found at: C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\platform\ax-events.llb

I found the implimentation a little more tricky with these VIs, but they are reliable.

Certified LabVIEW Architect
0 Kudos
Message 4 of 7
(3,455 Views)
Yes, just confirmed that it is indeed fixed in 8.0
0 Kudos
Message 5 of 7
(3,448 Views)
Hey all,
 
I gave it a go and have attached some LV8 code that does as you asked.  (so yeah I can also confirm that it can be done Smiley Wink )
 
Have fun!
 
AdamB
NI-UK

Message Edited by AdamB on 11-30-2005 04:24 AM

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 6 of 7
(3,435 Views)

Thanks all - I appreciate it's not an easy function to test.

Guess it's time to upgrade...

Certified LabVIEW Architect
0 Kudos
Message 7 of 7
(3,421 Views)