LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net start process java

I'm currently working on starting a .jar file in labview.

 

So far I get the application to start, but then it immeditiatly terminations (Have same issue in system.exe)

 

Image of the VI

 

 

Here is a screenshot of my code, as soon as my applciation begins, it ends. I'm wondering if its an error? If I type the same command into the command line it works without an error.

 

In the command line you can see the command working

 

But in Labview

 

It doesn't.

 

 

0 Kudos
Message 1 of 3
(2,689 Views)

changed wait for execution from TRUE to FALSE.

 

Command prompt now displays my error, instead of labview which I guess is a bit of a start.

 

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

Dear Valarauca,

 

In order to better assist you, please elaborate more on what you are trying to accomplish and how do you want LabVIEW to work with this file.

 

Are you trying to launch an application, compile a Jar file and launch an application, or extract data from the jar file ?

 

I found some links that might be helpful for you :

 

http://digital.ni.com/public.nsf/allkb/BEE812007BA2A9B486256BC80068A49A?OpenDocument

 

https://decibel.ni.com/content/docs/DOC-25737

 

In addition I am including an alternate way of opening a jar file. This is a snippet of a simple VI using the system exec VI. This VI operates like opening something in the windows "Run". Try using this as an example and see if you get the same errors.

 

 viexesnippet.png

Luis S
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,603 Views)