From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-23-2006 11:39 PM
08-24-2006 12:30 AM
08-24-2006 09:52 AM
01-14-2013 10:04 AM
Can you please develope the second solution (best, with web services) or give me a small example of implementation ? I need to tu use my implementation in Java (methods) in project in Labview. Thank you
01-29-2013 01:56 PM
The solution is to implement a communication TCP between your project labview and your code in java. It's very easy, in Labview we need:
- num Port, adress (127.0.0.1) for a TCP open connection.
-data to send for a TCP write (send a informations to java).
-data receive for a TCP Read (receive information from java)
-TCP close connection.
for the code java, there is an example here. Use the tcp Server.java , because the code in labview will remplace the code of the tcpClient.java
06-25-2014 02:44 PM
I would like to know if I am able to convert a vi into a ejs (easy java simulations)...does someone know?
06-25-2014 03:00 PM
@godinhoer wrote:
I would like to know if I am able to convert a vi into a ejs (easy java simulations)...does someone know?
No, you can't convert a VI into a form that can run in Java. You would need some type of communication channel (such as a TCP socket) between the LabVIEW application and your Java program.
12-09-2016 03:30 PM
If I wanted to use option 1, what do you suggest? Are there some very simple examples?
12-09-2016 03:57 PM
You're responding to a thread that was originally started over 10 years ago and last posted to 2 years ago. Highly doubtful you'll get any replies from the original posters.
Can you please back up a step and tell us what you need to do and why you think calling Java code from LabVIEW is the way to do it, instead of jumping right to asking how to call Java code?
12-09-2016 04:08 PM - edited 12-09-2016 04:12 PM
@kyle97330
>> Can you please back up a step and tell us what you need to do and why you think calling Java code from LabVIEW is the way to do it, instead of jumping right to asking how to call Java code?
I know LabVIEW better than Java and I need a gui. I also need to wire the gui to call some (really large, really hard to reproduce) code that is currently in Java, and then present the results. I'm looking to make a clean, standalone executable.
I want to know:
Does that clarify?
Should I just make a new standalone question?