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 session variable

1 - i've the following problem i've a VI that write in the output channel of a DAQ card a certain value of voltage, i can write to the output channel any value between 0 to10, because im using a labview 8.6 i decide to create a web service wich  works, my only problem is that my web service only accept the first value of voltage that i use, how can i've a persistent variable in web services, i try to found samething the web services pallete but didnt work, can sameone help-me?

 2 - my second question is the next when u've a labview web service where do u find the generated xml file? im asking that because i need a rest client for my labview web service in PHP, i still making my way to this new feature of labview.
0 Kudos
Message 1 of 5
(3,771 Views)

Hello mngolo

 

First of all, I have problem with your tzid.zip. I could't unzip it. I don't know if it's me or not but could you attach it again please? It should be helpfull for me to have a look at your code.

It's an easy example with Web Service. I assume you created well your Web Service but I want to be sure you didn't forget a step.

Best Regards.

     

 

Romain D.
National Instruments France

0 Kudos
Message 2 of 5
(3,741 Views)
hi Ramain D. tanks for your help here is my project again, i already try the examples and work fine, tanks for your help
0 Kudos
Message 3 of 5
(3,736 Views)

Hi mngolo.

 

I try to unzip your attached file but I can't. Two of my colleagues try too but they have the same issue. We've got about 8 error messages. It should be hard for us to help you or to reproduce your issue without your code Smiley Sad .

I advice you to contact the NI support by phone, I think it's the best way to solve your problem.

I am very sorry that I can't help you more on your problem. Could you share/post the solution when your problem is solved with the support please? I am interesting to know more about your issue Smiley Wink.

 

Thanks in advance.

Best Regards.       

Romain D.
National Instruments France

0 Kudos
Message 4 of 5
(3,715 Views)
hi i send the project again unzip, maybe its a problem of my software can u please check out, tanks, the vi that i need your help is called tzidwrite.vi
Download All
0 Kudos
Message 5 of 5
(3,694 Views)