webservice url for requesting a phasor read

Avatar

sdg.marinusvz
2013-09-10 06:00

The following post was translated from Afrikaans and transcribed from an email. Details has been obfuscated to protect client privacy
Can you please send me the web service URL command I can use to do a VI READ request.
Therefore I only find the web service command to read an exsting VI, but now if I want to request one and read it as soon as it is done communicating, how do I therefore do it through a web service call?

Avatar

sdg.marinusvz
2013-09-10 06:01

The easiest would probably be to use the doPage functionality together with the readPhasor.jsp page, with a value pushed in for the 'submit' variable.
http://sdg.pnpscada.com/webservices.jsp#commands.doPage

Avatar

sdg.marinusvz
2013-09-10 12:48

Tx Marinus
Do you have a url example ?
Does thies means you will add it into dopage?

Avatar

sdg.marinusvz
2013-09-10 12:48

Any page in the normal pnpscada experience can be called with doPage, so it is already added.
Like what you are doing to switch a breaker.
Look at the page's HTML source, and if you see a form, you can submit the form variables via a GET, like you have done for switching the breaker. The basic page url is what you see at the top of your window when you browse the page, and should be specified under the parameter 'PageToDo'. You should also specify the necessary parameters to log in and to select the relevant entity, as explained in webservices.jsp. In this way you can do anything via doPage that you can do manually in pnpscada.

Please log in to post a comment