Jump to content

carri

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0

About carri

  • Rank
    Active

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2009
  1. There are some more approachs, like using CGI (Common Gate Interface), a library included in the Internet Toolkit, but these two approach are better. I don't think so, but I don´t know. You must have the VI executing to can use the remote panel. it is impossible. A web service is like a webpage, you send a request and the server send back a response, so if you want to update the state of the VI, you must to send a new request. I'm doing something like you want to do, and I´m using AJAX to maintain updated the states of the variables. I can´t help you with this point, I don´t know nothing about this. I suggest you to try to use a remote panel, is quicker and easier than web service, but if the VI is big, the remote panel can need more resources. If you want to use webservices, be careful because you only can recieve a response when the VI finished its ejecution, so you would have to modify the VI to break the loops. PS: Sorry for my english, I hope you can understand it
  2. it songs very good, but i'm using the version 8.6, and i have to use it. I will try to test this solution, it maybe worth. Thanks!!
  3. both solutions are possible, althought are very ugly. The second solution is better, because you send the variables in the URL header, and sending a string with special characters such . or , is easier than sending XML code, i think. I was looking for another solution more pretty and more scalable. A VI with more than 28 inputs is now a very big VI, and adding all this extra functions makes it more messy. PS: Sorry for my english, its very bad
  4. That solution is valid if I were to use the VI like a subVI, but in WebService it isnt a valid solution. The build of the service shows an error due to an unsupported data type (the cluster).
  5. Hi everyone, I have a VI with more than 28 inputs, and I want to create a WebService to access it, but I only have 28 inputs to wire with the VI, How can I do that?
  6. In the end I used another different solution, it was with ESP, so the solution is as Aitor said, but cleaner, as the VI passes the variables to the ESP code, and this code formats the output to send to client
  7. thanks for all responses!! I am thinking to try that two last solutions, that are just what i was looking for. Thanks!! PS: Again, sorry for my poor english.
  8. In this page you can see your IP Address, but like tim and jdunham sais, probarbly a router will be blocking the port, so you need to add a rule to the router to allow this connection, good luck!
  9. I'm using Firefox. I configure the output of the web service like a XML file, and I receive it well in my browser, but when I add some XML additional tags, the special characters of those tags were changed, so when i try to parse the XML response with javascript, it didn't recognize the < character like the < character.
  10. The idea is to use the web service with ajax, so i can parse the xml to load the result of the operation, so i can't use this solution. Can I configure the LabVIEW's response not to change that escapes characteres? or any similar solution? thanks for all responses.
  11. thanks for the quick reply, but the change of the characters is in the response from the web service, not inside the VI, I don't know if i am explaining it well...
  12. Hi, Im new with LabVIEW, and i have a problem using the web services. I want to have more information with the response of the web service, so I use XML to format the output (with "flatten to XML"). The problem is that i want to recieve the response in XML, and when i recieve the response, the symbols < and > of my XML tags had been modified. For example, i want to recieve some code like this: <Response> <Terminal> <Name> example </Name> <Value> <String> <Val> Example text </Val> </String> </Value> </Terminal> </Response> but i receive this: <Response> <Terminal> <Name> example </Name> <Value> <String> <Val> Example text </Val> </String> </Value> </Terminal> </Response> PS: Sorry for my english it is very poor.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.