LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with other applications

We are currently using software written in HP-Basic, now we want to add
some functionallity to our programs but would like to use Labview as our
new developement tool.
The problem is that we want to communicate with our new programs from
HP-Basic, how can this be solved?

We have some ideas:
*Build the labview program as an windows executable file and communicate
with it through application arguments (like argc, argv in c/c++). We
don't know if it is possible to use this in Labview.

*Build the labview program as an windows executable file and communicate
with it through a file.

*Communication over TCP, we don't know if this is possible with
HP-Basic.

/Anders Jernberg
0 Kudos
Message 1 of 2
(2,978 Views)
Anders Jernberg wrote:
>We are currently using software written in HP-Basic, now we want to add
>some functionallity to our programs but would like to use Labview as our
>new developement tool.
>The problem is that we want to communicate with our new programs from>HP-Basic,
how can this be solved?
>
>We have some ideas:
>*Build the labview program as an windows executable file and communicate
>with it through application arguments (like argc, argv in c/c++). We
>don't know if it is possible to use this in Labview.

There is an example on the NI website that shows how to do this. Try www.ni.com/labview/
and then 'drivers & downloads' -> example programs. In the 'no hardware required'
section, you'll find an item called 'command line
interface for LabVIEW'.
IIRC: only for windows, not unix, but that's fine for you.

>*Build the labview program as an windows executable file and communicate
>with it through a file.

A fairly obvious solution, and easy to debug: code will work also if you
are running in the environment. I don't know if the commandline would work
in that situation.

>*Communication over TCP, we don't know if this is possible with
>HP-Basic.

Don't know. For new applications this is porbably preferred, as it also allows
web deployment.

>/Anders Jernberg

Maarten Sneep
0 Kudos
Message 2 of 2
(2,978 Views)