LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to build a java interface for a vi

I wanted to ask if there is a tutorial or anything describing how I can build an interface using java (java applet for example) that communicates through the web with a VI that I developed.ie, sort of a thin client.

 

I also wanted to ask if the Labview Web UI is available within the National Instruments 2011 professional version that I have? And also if it can be used on Linux ?

 

Regards,

0 Kudos
Message 1 of 4
(3,053 Views)

Hi there,

 

Yes, you can use Web UI Builder to create HTTP, etc.  However, it is a separate purchase from LabVIEW 2011.  See http://www.ni.com/uibuilder/

 

Best,

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,031 Views)

LabVIEW supports TCP and UDP communication, so you can write a Java applet that connects to your LabVIEW program that way.  You'll have to determine what type of data transfer is most appropriate for your application.

 

There are multiple ways to connect to a VI over the web.  The simplest is just displaying an image of the front panel; one step above that is a remote front panel (using the NI LabVIEW plug-in to display a VI's front panel in a web browser); and then there's the new Web UI builder.  I can't comment on the last one, I've never used it.  For a basic application, with a simple interface and a small number of client connections, the remote front panel may be sufficient and I believe there's a license (for at least one connection, maybe more) included in the professional version.

0 Kudos
Message 3 of 4
(3,019 Views)

Here's a good tutorial on Web Services to get you started:

 

http://zone.ni.com/devzone/cda/tut/p/id/7350

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,003 Views)