01-02-2010 01:30 PM
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.
Solved! Go to Solution.
01-02-2010 03:50 PM
01-03-2010 01:32 AM - last edited on 11-06-2024 03:44 PM by Content Cleaner
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
01-25-2010 06:23 AM
02-09-2012 07:03 AM
I have the same problem. How to create GetFunction in a OnInit event with TestStand ??