LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Toolkit to acces data using Web Browser

Hi everyone,
 
I want to extract specific data from a database (which is located in a Server computer) using a Web Browser in order to display and make calculations with them.
 
The idea is that the computer which is going to access to this information using a Web browser does not need a LV Runtime (NO remote panels). Also, more than one user could access to this information at the same time and this Web page must manage security levels.
 
Is there any LabVIEW Toolkit which let me to make this?
 
I attach a picture to help understand the question.
 
Any help would be appreciated. Thanks in advanced.
 
JC
 
0 Kudos
Message 1 of 15
(3,777 Views)
If I understood you correctly, what you're describing has nothing to do with LabVIEW, so I'm not sure where LabVIEW is supposed to fit into this, especially since your diagram shows no connection between the web browsers and LabVIEW or the web server and LabVIEW. You have a web server that's tied to the database, and the web browsers are getting data from the web servers. Well, this sounds like a standard web app. So where is LabVIEW supposed to fit into this?
0 Kudos
Message 2 of 15
(3,767 Views)
Hi smercurio,
 
You are right when you said that LabVIEW does not fit with this, but I would like to know if there is some LabVIEW toolkit which makes Web Applications.
 
If there will be this LabVIEW toolkit, I could display in the Web page Charts, Graphs and make some advanced calcutations on line (use LabVIEW advantages). On the other hand, it will not be necessary to install a LV runtime in the PC Client. Also, I would take advantage of the knowledge that I have with LabVIEW and not use another external software to make Web app.
 
Thanks so much for reply and I hope you can help me.
 
JC
0 Kudos
Message 3 of 15
(3,757 Views)
A web app runs on the server, not the client. The client sends requests via GET and POST messages, and the server processes these to send HTML back to the client. Anything you implement in LabVIEW will require the Run-Time Engine, even if you use the built-in method of "remote panels".

I've never heard of a toolkit that can generate HTML code, and I doubt one exists because of simple practicalities. For instance, how do you convert a LabVIEW chart or graph so it gets displayed on a browser using just standard HTML? (Note: that was mostly a rhetorical question.)
0 Kudos
Message 4 of 15
(3,748 Views)

Hi smercurio,

What about Internet Toolkit or Measurement Studio? Could they help me in some way? The idea is the Web app runs on the PC Server (made with some LV toolkit) and the client just access it without using a LV Runtime.

Reading your rhetorical question I think it is possible, for example when you publish your VI on the web like monitor or snapshot and you can watch the fron panel of this VI using a Web browser and you don't need a LV runtime in the client computer.

Thanks again for your help.

JC

0 Kudos
Message 5 of 15
(3,740 Views)

Yes, but those are static images. There is no control capability. To do this you don't need any additional tools. You can use the built-in Web Publishing Tool accessed from the Tools menu.

Actually, even creating a page that provides control capability can be done with the Web Publishing Tool. Again, no additional tools are required to create the web page. To allow control, however, you need the Run-Time Engine on the client since the page is essentially just an <EMBED> object. You should also be aware that the remote control part of it is limited in terms of connection licenses. The Full Development System comes with one connection license. The Professional Development System comes with 5 licenses. Additional licenses can be purchased from here.

 
0 Kudos
Message 6 of 15
(3,732 Views)

Were you planning to use the Web Server function in LabVIEW? 

This might work for what you want.

Web Server: Configuration Options Page

Web Server: Browser Access Options Page

Although you may not have all of the options that something like Apache would offer, it might be quite a bit easier to configure LabVIEW as your webserver. 



 
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 7 of 15
(3,726 Views)
The idea is the PC client doesn't need a Run time in order to display and make operations with the data. Is it possible to have a VI which uses CGI tools in the server computer and it can communicate with the Web page? It could be like a translator between the Web page (in the client) and the main VI (in the server).
 
JC
0 Kudos
Message 8 of 15
(3,725 Views)
Is it possible? Of course it's possible. You just have to spin this up yourself. Smiley Wink

The Internet Toolkit will probably make life easier if you want to use just standard HTTP from the client to provide control rather than using an embedded object to control a LabVIEW app, as this requires the Run-Time Engine.
0 Kudos
Message 9 of 15
(3,714 Views)

Hi Patrick,

Thanks for the information. Please correct me if I'm wrong but I think the Web Server function help me to publish the VI in three modes: Embedded, Snapshot and monitor. If I use the first option, it is necessary to have a LV run time in order to display and control the VI and that's not the objective.

I attached a figure of a VI where I can extract data from a database. I can select data from a date to another one. The data will display in the Wafeform graph after I choose the time slot and it will make some operations to get the average, mains and peaks of the data that I chose. I would like to do all of this using a Web browser and without installing a run time in the computer which want to access to this program.

JC

 

0 Kudos
Message 10 of 15
(3,713 Views)