LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

want to "ignore previous" ActiveX Event using callback vi/dynamic events in event structure (LV 7.0)

hi there

LV 7.0: i'm using a callback vi with an registered ActiveX event (MSComCtl ToolBar/ButtonClick). i wait for the event with an event structure using dynamic events. how can i wait "ignore previous"? (like i did in LV 6.1 with the "Wait On ActiveX Event.vi").

thx in advance
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 1 of 5
(2,897 Views)
Dear Chrisger,

could you poste your VI?

best regards.

SebastianN
0 Kudos
Message 2 of 5
(2,897 Views)
hi sebastian,

here's my code. it uses the ToolBar Control from the MsComCTL. in case you don't have a development license i put an executable to the zip.

i want the event structure to ignore any pending events
(like the old style solution with "Ignore previous" = TRUE).

best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 5
(2,897 Views)
Dear Chrisger,

there are some changes to handle activeX with eventstructures.
Hope the link is a good answer to you.

http://digital.ni.com/public.nsf/websearch/CF799BE635B6A26986256F03007BCA94?OpenDocument

Best Regards.

SebastianN
0 Kudos
Message 4 of 5
(2,897 Views)
hi sebastian

thanks for your answer, but the document handles the LabView ActiveX object, not ActiveX objects in LabView! but thanks anyway!

best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 5
(2,897 Views)