ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to call another program from LabVIEW?

Hi!
 
Is there anyone that can answer my question? I have found a similar thread where the user needed to call labVIEW from some program but I want to do the opposite.
I made a program in labVIEW that communicates via COM-ports (serial communication) with the processor I use at the job (Ubicom´s IP2022).
Now I want to add more funcionality to this program. I want to be able to program re-program IP2022 through this LabVIEW application.
 
The programming is done via an Ethernet-dongle. I start a program called IP2kProg, I write the ip-address of the dongle and the program-file (.elf) downloads at this address. But how can I do this from
LabVIEW, do I need to open IP2kProg or can I send some values to it via LabViEW?
 
 
Ant suggestions?
 
Thanks, Amir
0 Kudos
Message 1 of 2
(3,088 Views)

Amir,

There are couple of options:

1.  If your IP2kProg program has a command-line interface, you can use LabVIEW's System Exec.vi and send the commands and parameters to it. 

2.  If the IP2kProg has an API / exported functions, you can call them from LabVIEW using the Call Library Function Node. 

Hope this gives you some ideas. 

-Khalid

0 Kudos
Message 2 of 2
(3,072 Views)