02-24-2004 03:10 PM
02-25-2004
05:38 PM
- last edited on
06-23-2026
08:02 AM
by
Content Cleaner
Hi GGingras,
National Instruments used to provide and support a product known as DataSocket JavaBean. Unfortunately, it has been discontinued. So, DataSocket is not much of an option. There are a few other ways, however, that you can take to gain access to instruments.
One way would be to create a Remote Panel, which does not need a java applet. Here is a link to a tutorial on how to create one.
If you must use Java, you could export your LabVIEW VIs into a DLL using Application Builder, and then use the JNI (Java Native Interface) to talk to this DLL.
Lastly, you can communicate over TCP/IP. You can write a server using TCP/IP primitives and have the java applet connect to it and exchange data via TCP or UDP.
Hope this helps. Let me know if you need any more information. Happy Coding!
Jeremy L.
National Instruments
04-18-2006 08:20 PM
hi,
at present, i had done an example to finish communication between java and labview, that is to say,we can call the function proteptypes in labview from java classes, it is a good try.If some person is doing this or want to co-operate with me in doing it, please send email to me: