LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Java Routine from Labview

I have a Java program that takes a file pathname for a binary file into it and reads and interprets it.  I want to call this java program from a parent program written in LV 2013.  I want to pass the filename into the java program and retrieve the data that it read from the file for postprocessing and display.  Anybody have recommendations on how to do this? 

0 Kudos
Message 1 of 2
(2,622 Views)

Can your JAVA program be called from the command line?  If so have LabVIEW call it using the System Exec call and set the wait until done to TRUE.  Then the standard output will have what was returned from the JAVA program.

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