04-17-2009 07:27 PM
hello im trying to use the "Write Session Variable VI" to be able to write a variable to a browser, but im having this error wich i dont know the origin "an invalid requested id was wired in" how to solve this?
i send the project and an image of the problem
04-17-2009 11:18 PM - edited 04-17-2009 11:19 PM
What are you trying to do with this "session variable"? Where do you get the session ID number that is in the control? You aren't passing it in through the VI connector.
There are numerous VI's on the Web services palette. In order to use these web session VI's, you will need to do things like Create Session and either destroy or delete session at the end. I've actually never seen these VI's used before. They seem pretty uncommon, and also fairly complicated. I would highly recommend searching for examples that demonstrate how the VI's on that palette are used.
You also have some odd constructions in your code. Why do you take an array, convert it to a cluster, unbundle, undbundle the Y array, convert to Double even though it already is. convert to cluster, unbundle ......?
You have 6 functions there that should be done in 3.
04-18-2009 05:47 AM
hello Raven, tanks to correct my vi, well what i want is this, i want to send the variable vout in a way a browser could plot the same graphic as if u're using just labview. The problem with sessionID is that i dont really now how to use it and why i need it, all i know is i need it in order to webservices vi works, i try the examples but to be honest i've no success until now.
the reason for the extra code was a "desperate" i just was trying to make it work what ever it takes, tanks to show me the right way and specially tanks for your very quick answer
mngolo
04-21-2009
03:58 AM
- last edited on
01-12-2025
04:52 PM
by
Content Cleaner
Hello,
Take a look a this step by step tutos and the examples attached :
Using LabVIEW to Call SOAP Web Services
LV 8.6 help :
Building a Web Service (Windows)
and:
Regards,