carri
Members-
Posts
13 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by carri
-
Make a Labview application available on internet
carri replied to Lola's topic in Remote Control, Monitoring and the Internet
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 -
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
-
use XML with XML Response of a web service
carri replied to carri's topic in Remote Control, Monitoring and the Internet
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 -
use XML with XML Response of a web service
carri replied to carri's topic in Remote Control, Monitoring and the Internet
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. -
LabVIEW Internet access
carri replied to jieyinzhang's topic in Remote Control, Monitoring and the Internet
Sorry, I forgot to put the page: LINK -
LabVIEW Internet access
carri replied to jieyinzhang's topic in Remote Control, Monitoring and the Internet
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! -
use XML with XML Response of a web service
carri replied to carri's topic in Remote Control, Monitoring and the Internet
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. -
use XML with XML Response of a web service
carri replied to carri's topic in Remote Control, Monitoring and the Internet
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. -
use XML with XML Response of a web service
carri replied to carri's topic in Remote Control, Monitoring and the Internet
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... -
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.