LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web application with DAQ

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.

0 Kudos
Message 1 of 11
(3,718 Views)

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.

 

0 Kudos
Message 2 of 11
(3,687 Views)

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.

Download All
0 Kudos
Message 3 of 11
(3,681 Views)

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.

0 Kudos
Message 4 of 11
(3,663 Views)

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

0 Kudos
Message 5 of 11
(3,657 Views)

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

0 Kudos
Message 6 of 11
(3,654 Views)

What appens to your application when you have the problem on the Web UI?

Is it still working right?

0 Kudos
Message 7 of 11
(3,630 Views)

I find the solution yesterday. When I will understand well I'll post the solution. 
Thanks for your help Smiley Happy

0 Kudos
Message 8 of 11
(3,627 Views)

Ok, I'll be waiting for that, since I'm really interested in web UI solutions.

🙂

 

Thank you,

Bye!

 

FBM

0 Kudos
Message 9 of 11
(3,623 Views)

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 Smiley Wink

0 Kudos
Message 10 of 11
(3,609 Views)