LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control a LabView VI using a C++ script/program?

Hi,
I am a developer of a satellite communications system that is being used in
a satellite project I am working on at the University of Colorado - Boulder.
The project is called 3CS. We have built a simple LabView program that uses
some of the server routines to transfer data via TCP/IP protocol. The basic
VI initializes the radio hardware at the site the satellite is currently
over and then opens a data stream. The data is then downloaded back to our
servers via secure VPN. My question is this: How can I control a VI using
a language like C++ to execute certain parts of the VI. I basically have a
VI that listens for radio packets. My program then strips off the satellite
radio ID and protocol information
. I need to get this information into the
VI remotely through a C++ script. Any help would be greatly appreciated.

Sincerely,

Ryan R. Fligg

Colorado Space Grant College
Electrical and Computer Engineering
University of Colorado - Boulder
0 Kudos
Message 1 of 2
(2,673 Views)
Hello fellow Boulderite,

The easiest way would probably be to use the application builder to create a DLL from the VI. The other option is to use the LabVIEW ActiveX interface. There are some examples of using C++ to control LabVIEW in the example library of the NI Developer Zone.
0 Kudos
Message 2 of 2
(2,673 Views)