04-29-2012 06:30 PM
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,
04-30-2012 06:32 PM
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,
04-30-2012 11:46 PM
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.
05-01-2012 03:22 PM
Here's a good tutorial on Web Services to get you started:
http://zone.ni.com/devzone/cda/tut/p/id/7350