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 run a vi from Java application?

I am passing data to a vi from my java swing application using data socket bean but I have to manually open and run the vi. How can I programatically open and run the vi from my java application without using ActiveX automation server?
0 Kudos
Message 1 of 2
(2,945 Views)
I don't know Java but if you can issue a shell command then you can run the VI with the command line:

"\labview.exe" ""

You have to set the VI to "Run when opened". The VI will run each time the command is issued, even if the VI is already opened.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 2
(2,945 Views)