03-28-2007 01:04 PM
03-29-2007 08:19 AM - edited 03-29-2007 08:19 AM
Message Edited by SamF on 03-29-2007 08:20 AM
03-29-2007 09:40 AM
03-29-2007
10:14 AM
- last edited on
07-10-2024
02:28 PM
by
Content Cleaner
Hi Sam,
I hope you are doing well today! Here are some examples I was able to find by searching through DevZone.
Calling a LabVIEW VI from Visual Basic through ActiveX
03-29-2007 11:08 AM
03-30-2007 04:10 AM
04-12-2007 12:41 PM
03-06-2015 04:53 AM
03-06-2015 07:39 AM
This is a death end. LabVIEW events are internally implemented in LabVIEW and can not be hooked externally with any documented interface. The only thing you can do is hooking the Windows messages that are sent to each window and which LabVIEW then translates into its own events, but nothing else.
You will have to create a deamon in LabVIEW that intercepts the events you are interested in or that your application sends them too explicitedly and have your external application subscribe to that deamon (any InterApplication Communication means is fine) so it can send those events to your external application.
03-09-2015 01:29 AM
Dear Rolf Kalbermatter,
Thank you very much for your reply.
While I try to digest and check out the idea you suggested, let me also explain my situation briefly here:
I am developing a tester platform in LabVIEW (currently in LV2013 sp1). My application needs to interact with a machine handler application that is done in Visual Studio.net. In order to enable interaction between the applications, I have to create an interface in my application and open up for the other application to consume.
I have tried out the ActiveX mechanism in LabVIEW and successfully able to access the method (sub VI) within an EXE compiled in LabVIEW from a VB.net application.
Now in order to fulfill the requirement laidout to me I need to create events (for example 'Test End' event or 'Measurements Ready' event) from my application for which the other application can subscribe to.
If anyone has done something like this before using any method, it will be very very helpful for me as I am quite new to these advanced stuff.
Thank you !
Pradeep K E