03-01-2012 02:15 AM - edited 03-01-2012 02:17 AM
Hello, I'm having problem with my project. I'm actually want to monitor some external circuit waveform signal from the web using the DAQmx and the web service available in labview 8.6. I have done some VIs by referring to the example "webservicedemo" provided in NI website. But when I try to run the project it showed error message saying that the possible reason is the invalid requested id was wired in. I had attached my project file here. Can anybody help me to fix the problem ?. Really appreciate any help from anyone since I have to complete this project for my graduation...
03-01-2012 03:43 AM - edited 03-01-2012 03:45 AM
this is the zip file
03-01-2012 07:38 AM
You can't execute it standalone, just build it and deploy on your machine. Try to make thin Java based web page to get XML data.
For other machine, make an executable for this project.
03-01-2012 10:09 AM
Thanks for your kind reply. I have three question in mind. Since I'm not really familiar with building website, please kindly correct me if I'm wrong:
1. Is Java based web page similar with Javascript ? Can I use flash builder to create the Web applications ? any other better suggestion ?
2. From the VIs that I attached, are they all alright or is there any correction to do so that it will work correctly with the web page ?
3. What do you mean "For other machine, make an executable for this project" ? Do I need to install anything for the other machine ?
I really appreciate your help and hope you can guide me for completing this project
03-01-2012 01:40 PM
1. For javascript based webpage to fetch XML data, you can use very simple javascript functions like XMLHttpRequest() etc, search on internet, you will sure get all details.
2. There is no problem in your code, everything looks fine.
3. Other machines means if you want to run this project, in which LabVIEW not installed.
Let me know if you need further any help.
03-18-2012 07:40 AM
I already build a simple flex web UI and attached to my project folder and labview web service but, it still didn't work. I can't even get any XML data to the browser and when I deploy with the flex UI it produce error.
Can you look through the file I attached here and help me if possible. tq
03-18-2012 12:54 PM
I had quick look on your project, your VI seems fine, problem with Web Service URL mapping.
I can see XML appears with 'Array' name, so change in web service properties >> URL Mapping >> Change >> Data/:waveform to /Array.
Try to get XML data with this link http://<IP>:8080/<Web Service Name>/Array.
You should get XML Data.
03-26-2012 09:59 AM
Thanks a lot for your help. I already did according to your guide but still the XML data didn't want to come out in the browser.
I change the URL mapping (/data/:waveform to /array) and use link of http://localhost/ECG/Array but, it still didn't work.The XML was already appear in the vi front panel but it didn't want to appear in the browser page.
Do you have any idea why this is happening. Do I have to change anything else in my vi ?
03-26-2012 03:17 PM
I have changed the project file, attached.
Tested with restclient, working.
03-27-2012 07:32 AM
oh thank you very much but unfortunately my Labview version is 8.6 and i cannot open the file. I think your Labview version is 10.0. Is it possible to make th file compatible with Labview 8.6 ?