Jump to content

Control LabVIEW exe via ActiveX


Recommended Posts

As far as I know, the ActiveX server interface in LabVIEW dates back to LabVIEW 6.0 or something and that is in fact before such features were available through VI server. It seems there was very little changed on the ActiceX server interface since, while the entire VI server itself received a huge workout with many new features including the whole scripting API.

The most simple solution might be to create a VI library that provides the necessary functionality through use of VI server and build a DLL from it.

Link to comment

Thanks for the quick response.

The exe uses a 3rd party HW and SDK.

The SDK, once called, left something in the memory.  I can't get rid of it.  And I can't run it the 2nd times until restart LabVIEW.  So I've to put it in a separate process.


Link to comment

You might want to investigate REx - Remote Export Framework for LV built EXE


Although it can't give you a direct button click, it does the next best (possibly better) thing, giving you the ability to call a method externally that fires a LV event internal to the EXE.

Good luck,

~,~ The Captain

  • Like 1
Link to comment
  • 3 months later...

Join the conversation

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

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.