BadLuckMan Posted August 12, 2014 Report Share Posted August 12, 2014 Hi all. In LV7.1 days we wrote a LV application and exported a type library (.tlb) to remotely call this LV application. Based on the .tlb we built a Win32-DLL with VC++ 6.0. We would now like to update the LV application to LV2013 but we'll still nedd a Win32-DLL on the other side for remote calls/control. Does LV2013 still export .tlb files? If not, any suggestions how to remotely call a LV2013 application from Win32-DLL? Thanks for any help, Ralf Quote Link to comment
Rolf Kalbermatter Posted August 12, 2014 Report Share Posted August 12, 2014 Hi all. In LV7.1 days we wrote a LV application and exported a type library (.tlb) to remotely call this LV application. Based on the .tlb we built a Win32-DLL with VC++ 6.0. We would now like to update the LV application to LV2013 but we'll still nedd a Win32-DLL on the other side for remote calls/control. Does LV2013 still export .tlb files? If not, any suggestions how to remotely call a LV2013 application from Win32-DLL? Thanks for any help, Ralf The TLB file is now embedded in the LabVIEW executable. Everything else works the same. Quote Link to comment
Norm Kirchner Posted August 13, 2014 Report Share Posted August 13, 2014 If not this methodology, You can use .NET, C, C++ to call into a LV executable through REx (Remote Export Framework) It might not be exactly the answer you're looking for, as you need to create a set of commands to be called externally, but it's a very powerful framework that others have used quite successfully over the years including myself. Good luck! Quote Link to comment
BadLuckMan Posted August 29, 2014 Author Report Share Posted August 29, 2014 Hello, sorry for coming back on this so late. And thanks for your replies. Following Rolf's hint I found that with the build option 'enable ActiveX server' a .tlb file is created by LV2013. I did manage to start my labview application on the remote PC but I didn't get any vi handle. My VC++ 6.0 application crashes when trying to obtain a vi handle. Before trying REx I am searching for a labview-built-in-solution to make remote calls to a labview.exe. I am now willing to call labview from C# and I found many examples calling a labview DLL with C#. But I need to call a labview EXE. Is there a built-in-solution from NI to remotely call a labview 2014 executable? (vi server is only for calling from labview to labview app, right?) Thank you, Ralf Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.