06-26-2014 06:19 AM
hi friends
I designed a monitoring program for temperature and other sensors.
I want to run it on server and client control it from web browser now i try remote panel but this is not very good because we need send request control to server with right click (it is not good for operators) and i couldn't handle it for several operators, in additional we need setup Run time on computers (not good!)
now i need help for design a user friendly web based application with labview like asp.net.
what should i do?
thanks.
06-26-2014 12:39 PM
Does your company already have a web server online. If so piggybacking on that would be easy. Alternately, you can use the LV Web Services.
Personally, I would pick the first option if at all possible because it would be more scalable. In addition it nicely isolates the acquisition process (LabVIEW) from the presentation and display process (Web Interface). The idea is really simple: from the LV side, you insert data into the database the webserver uses, then from the web side the server pulls data out of the database and displays it in response to browser requests.
Are there any people in your organization (or random teenagers wandering through the building) who have done web design and whose talents you might be able to leverage?
Mike...
06-28-2014 12:52 AM
hi mike
I wana implement whole of the project with Labview. we don't want to use asp.net or others. i think labview can not work on web based application isnt it?
i think Web UI builder is alternative way. but it don't support database and other toolkites.
what shuld i do? i worked on labview 3 years and designed many project but i can't develop web based.
06-28-2014 08:46 AM - edited 06-28-2014 08:50 AM
You are right, LabVIEW can not do web interfaces by itself (even the built-in web support requires knowledge of things outside LV) so like it or not, unless you have someone in your organization that can help you, you are going to have to learn to do the web stuff yourself.
The good news is that learning about the web and how it works isn't that hard really and can be a lot of fun. The key point is to leverage industry standards so you have a large base of people you can go to for help. For example there are active forums like this one for HTML/CSS, MySQL, PHP, Apache Servers, JavaScript -- and a bunch of others. And on some of them there are even some folks that are as nice as we are! 🙂
But again, your first goal should be to find internal support. What sort of organization are you associated with? School? Corporation? etc? Does your organization have an internal IT department? That is the place to start.
Mike...
06-29-2014 01:06 AM
thank mike for your friendly reply!
we are a small corporation about monitoring and control system in hardware and software.
in software part we have 2 programmer on labview and 1 on asp.net just 3 persons!
according to your reply we must add a person on HTML coding or we learn about that.
result : labview can not do web application.
thanks man.
06-29-2014 12:47 PM
06-30-2014 10:33 AM
This actually sounds like it *could* be a good fit for data dashboard:
https://decibel.ni.com/content/docs/DOC-19387
For background: The web server in LabVIEW allows you to host two types of resources -- static content, like web pages, and dynamic content, like web methods. For a simple comparison, google.com is static content, but doing a search will invoke dynamic content....basically. In a typical application, your server hosts both, and uses scripting on the server to tailor the content to your particular needs. This is generally the hard part.
Depending on the complexity of your application, you *may* be able to get by with the following:
07-01-2014 01:36 AM
data dashboard is not good for my project we need controls, indicators, database connections and more in additional data dashboard run on android or ios.
i think we should develop our program locally and in future extend it with asp.net
I'm so sad for it because I love Labview and I hoped that labvew help me stand alone in web based application.
07-01-2014 06:10 AM
07-01-2014 09:03 AM - edited 07-01-2014 09:17 AM
@meysam_b wrote:
data dashboard is not good for my project we need controls, indicators, database connections and more in additional data dashboard run on android or ios.
i think we should develop our program locally and in future extend it with asp.net
I'm so sad for it because I love Labview and I hoped that labvew help me stand alone in web based application.
So, going back to my previous post, your database access would normally go through the web server, not directly from the client. The client can be a thin client like data dashboard. During development you would develop dynamic content in your service which converts HTTP requests into database requests in order to get the data you need. The same would be true of asp as I understand it. A big difference between the labview web server and anything else out there is that it has to be able to run on our embedded targets, and so it is pretty light weight.
Btw, it sounds like this isn't what you need, if I understand your request correctly, but I found out about it recently and its pretty cool, and it might meet your needs:
http://labsocket.com/index.html
My basic understanding is that its a new implementation of remote panels developed using modern web technologies.