Jump to content

Recommended Posts

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

Link to comment

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.

Link to comment

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!

Link to comment
  • 3 weeks later...

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.