11-13-2012 05:23 AM
Hi,
I'm trying to create a web application that acquires data from DAQ and control lights.
I built the application and I created a web service using a tutorial, just to learn how to do it.
The problem tools that I use in the program are not compatible with web service.
I saw this video: http://zone.ni.com/wv/app/doc/p/id/wv-1149
The question is: need I use flash to visualize acquired data or can I use a simpler program? I have little time.
Thank you and sorry for my english.
Veronica
P.S.: I attach a picture of my program to show what I need.
11-14-2012 03:47 AM
Hi Skeggy88,
you can build a Web User Interface using the method you prefer: HTML, Flash, Java and so on; the only thing you have to do, is to include to your interface the Web Services you published with LV.
You can also use the Web UI Builder to create in an easy way the UI.
I attach a link to an example made by this last solution.
Hope that was helpful,
bye.
11-14-2012 09:37 AM
Hi, thanks for your help.
I created the interface with Web UI Builder and the web service, but web service doesn't work.
Besides I don't understand how I can connect these two parts... I saw lots of tutorials that talk about Get.vi and shared variables, but I'm confused.
Thanks again,
Veronica
P.S.: I attach the interface, the block panel (I know that it's wrong but is the best that I can do, because I've known the program this morning), and the application that I want use like a web service.
11-15-2012 05:11 AM
This morning I had some progress!! I built a web server that visualize data acquired by DAQ, but only if I use the option with N samples.
If I use continuous samples (like I need) and a while, browser start a loop.
11-15-2012 06:06 AM
Hi,
for this kind of application it's better to avoid using the DAQ Assistant express VI: try to use the DAQmx VIs ti reach the same goal.
What do you mean saying that browser starts a loop?
Thanks,
FBM
11-15-2012 06:49 AM
It means that browser can't load the page.
I had no problems with DAQ assistant before my attempt to build a web service.
The application itself works well
11-16-2012 04:08 AM
What appens to your application when you have the problem on the Web UI?
Is it still working right?
11-16-2012 04:14 AM
I find the solution yesterday. When I will understand well I'll post the solution.
Thanks for your help
11-16-2012 04:29 AM
Ok, I'll be waiting for that, since I'm really interested in web UI solutions.
🙂
Thank you,
Bye!
FBM
11-18-2012 04:41 AM
The solution is that the web service can't contain loops. I set the DAQ in continuous samples mode and I put the loop only in web UI builder