From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX/COM Server Callback

I have ActiveX server application register in my system. I have also ActiveX client made in VC++ for the same application.
Some of the methods are exposed from the ActiveX server.
ActiveX server application calls the client for some event initiatation at runtime when needed. In VC++, this callback handling is established by defining some other class. Could you please let me know how can I do the same functionality using TestStand?
 
I can able to call the exposed methods of the server through TestStand as a ActiveX Client.
 
Regards,
Vishal.
0 Kudos
Message 1 of 2
(2,807 Views)
TestStand Sequences cannot be directly registered as ActiveX event sinks.
 
 
You would have to create an event sink separately (in VC++ perhaps) and within the event sink, communicate with the desired running sequence via Station Globals, Windows synchronization primitives, the NI TestStand Synchronization activeX server, or any other method that is convenient.
0 Kudos
Message 2 of 2
(2,798 Views)