Jump to content

carri

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by carri

  1. 0.- Are there any other approach to do that? Are the pproachs that I found correct?

    There are some more approachs, like using CGI (Common Gate Interface), a library included in the Internet Toolkit, but these two approach are better.

    1. - I had built a .exe application. Is it possible to use the remote panels when you are using an .exe? I had managed to use remote panels when I am executing a vi directly, I don't know if is possible to use them when you are executing the exe itself.

    I don't think so, but I don´t know. You must have the VI executing to can use the remote panel.

    2. - In my application the data change quickly. If I use the second option, how can I keep the webpage updated without asking the web service every second?

    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.

    3.-In the future I will include in my application an image obtained from a video camera, how can I include this image in the web?

    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. 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 tongue.gif

  3. 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.