LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview with Java Applets

I want to use LabView instruments in my Java Applets. Is it possible to call virtual instruments from applets?
0 Kudos
Message 1 of 3
(3,650 Views)
Gaurav,

Yes, it is possible, but it might be easier if you use Remote Panel (LabVIEW 6.1) or an ActiveX component (Application Builder). To have Java and LabVIEW communicate with your applet, I can only suggest using the Application Builder to build your VIs into a DLL and then use the JNI to talk to this DLL. This may work fine outside of a browser, but I don't know if it will work inside a browser or not because each user will need the DLL. The best way to do it would be to have the Applet redirect the user to a Remote Panel web page where they can control the VI from there.

For more information on Java and NI Products, see the link.

Randy Hoskin
Applica
tions Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 3
(3,649 Views)
Thanx for your reply Randy,
Infact our requirement is to use Labview models in a non-browser Java application developed in Swings.
How can we display and manage a vi in a Swing Panel ? We will appreciate if you can send some sample code to call a vi from Java Swing Application?
Will the demo version of Labview support this feature?
0 Kudos
Message 3 of 3
(3,649 Views)