ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web services with controls

hi im trying to create a web service with this VI in the atachment, i tested the add example avaible in NI site and works fine, now i want to build a client that access the vout control, but when i launch this adress http://localhost/tzidws/add/5 the browser doenst show the xml code that i was expecting, it just keep saying waiting for localhost, am i doing samething wrong?

 

Márcio Ngolo 

 

P.S.- Im using full labview 8.6

Download All
0 Kudos
Message 1 of 7
(3,933 Views)

Hi mngolo,

Would it be possible to provide us with your project? It will be easy to help you.

I don't understand what you want to do. Please, can you try to clarify our problem.

Regards

Yann C.

France

0 Kudos
Message 2 of 7
(3,899 Views)

helloYann how are u tanks for answer-me, my intensions is to create a webservive using labview and PHP, i created a vi to control a positioner, the vi (tzidwrite.vi) control the positioner openning or closing the positioner, to do that all i did is give a tension value to the input of the positioner using labview and a SCB-68 aquisition board, the values of tension varies from 0v (totally closed) to 10v(totally open), the vi works fine and all system works fine, what i need now is to transform this vi into a web service, i follow the instructions in the help of labview 8.6 and i was expecting to see the XML web page in order to be able to control my positioner just changing the values of the tension in the vi webservice, but i believe im not doing the url mapping the right way, im sending the project files for verification.

 

 

0 Kudos
Message 3 of 7
(3,866 Views)

Hi,

sorry for the late reply, I take a look on your project. Does the "add " web server works fine. Can you try to run another examples( it's a labview example):

C:\Program Files\National Instruments\LabVIEW 8.6\examples\comm\webservices\weather monitor.

 

 

Regards

 

Yann C.

France

Message 4 of 7
(3,821 Views)
the add web service works bad in my computer, but the weather example is working very fine, i cant figure out why i cant create a web service over my .vi, tanks for the atention Yann, i'll keep trying
0 Kudos
Message 5 of 7
(3,773 Views)
i've a question when u configure a web service using labview 8.6 the name that u use in the URL mapping (example in the weather example we've station/:station_id), the name station could be anyname or must be same speficic name? this is a dummie question but im desperate i need to make im doing everithing right
0 Kudos
Message 6 of 7
(3,771 Views)
hi Yann i solved my problem i was making a small bad mistake i forgot to assign terminals to control pane that's why nothing happened tanks for your attention
0 Kudos
Message 7 of 7
(3,752 Views)