LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi server

Do I need developer license to run vi from python or vb with vi server activex

or I need only the RTE

tzahi

0 Kudos
Message 1 of 4
(2,393 Views)

You can run a VI from the RTE, and you don't need a LabVIEW license for that, but there are some issues:

 

  1. I'm not sure if the ActiveX server has the permissions to run VIs outside of LV. I'm assuming it does, but that would need to be checked.
  2. I'm assuming that to have an ActiveX server available, you need a running process, meaning you need to build an executable in LV anyway and configure it to have a running ActiveX server.
  3. There are some specific modules which do require a run-time license as well, such as the DSC module, so if you have one of those as part of the LV code, you might need that.
  4. In order for a VI to run from the RTE, it needs to be compiled and have all its dependencies available. The easiest way to do that is to do a Save As and create a development distribution. If it's LV 2010 or later, you also need to make sure that the VIs don't have the compiled code separated from the source.

 

In the end, the simplest thing for you might be to use the application builder to build a DLL. This will allow you to call the VI like you call a standard C function and the RTE should take care of actually running the VIs in the DLL.


___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,372 Views)

Thank you for your response

just for example I have Ni developer suite 2010 license activate & I make some VI and save it

now I deactivate the license

I am will able to run the this VI from external program (python,vb,c++ Of course by use the activex labview)

Tzahi

 

 

 

0 Kudos
Message 3 of 4
(2,365 Views)

Hi ioc,

 

To actually run this VI from an external program you need this VI to be an .exe or as tst said in his post, a DLL. As a DLL or as a .exe you can call it from a external program, and you’ll only need the RTE.

 

To open the VI (program.vi) you need the programming environment, in this case LabVIEW, so you will need a license for doing this, but, even if you have the license if you just open the VI it will not execute until you run it (manually), so the .exe or the dll options are the best for you.

 

Regards,

steve.bm
AE | NI
0 Kudos
Message 4 of 4
(2,333 Views)