LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the ways of controlling a VI from a different application?

Hi!
 
I'd like to find out what my options are for controlling a VI from a different application, likely either Visual Basic .NET or Visual C++ .NET.   Is there an API to run a VI file from a different IDE?  Is there a way to do this without using App builder to create a DLL and/or an EXE?
 
Thanks,
Alan
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 1 of 3
(2,504 Views)

Hey,

LabVIEW provides an ActiveX interface from VIServer, I think this would be the easiest way. I'm sure you will find information on this topic at ni.com/devzone in form of some tutorials, example code, ....

BR, Christian

0 Kudos
Message 2 of 3
(2,493 Views)
Building the code into an DLL is also a very suitable option, but you will have to keep in mind that for easy integration you will have stick strings, integers and arrays of integers as parameters for you exported functions and use and stick one calling convention will also help.
Regards,
André (CLA, CLED)
0 Kudos
Message 3 of 3
(2,477 Views)