LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Canalyzer OnInit event can't be accessed

Solved!
Go to solution

I can access the com objects methods but I can't use the events (can't see them). Does anyone know why?

I must get access to  the OnInit event. 

 com objects.jpg

 

 

 

messurementEvent.jpg

 

 

 

0 Kudos
Message 1 of 5
(4,020 Views)
Is this just a continuation of your earlier thread? It might be better to continue the discussion there, otherwise people have no idea what you're talking about. I certainly didn't by just looking at this thread.
0 Kudos
Message 2 of 5
(4,012 Views)

You should use the 'Register Event Callback' function on the ActiveX palette, you feed your com object into the 'Event' terminal, select the appropriate event (OnInit) and right click on the 'VI Ref' terminal and select, 'Create Callback VI'.

 

This will create a VI with the correct terminals, in this VI you should deal with the event. You could forward it into a user event.

 

Let us know how this goes.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 5
(3,997 Views)
Solution
Accepted by topic author magnuslilliehook
It works fine. Thanks for the help
0 Kudos
Message 4 of 5
(3,897 Views)

I have the same problem. How to create GetFunction in a OnInit event with TestStand ??

0 Kudos
Message 5 of 5
(3,390 Views)