09-27-2018 02:59 AM
Hi,
I try to communicate with OMICRON TICRO100 using labview. It is possible to communicate with this material using JSON or SOAP commands. I managed to send JSON commands using labviewHTTPClient.lvlib Get.vi. Unfortunately, only 4 commands are available with JSON, the other are available using SOAP.
Therefore, i used the labview tool to import and generate automatically the API using the WSDL file. The tool generated an API with all functions , but when i try to use the API ,i open the web service, and call one function i get error 1172 (HTTP 417: Expectation Failed. ).
In the TICRO documentation, i read i have to parameter this:
How can i do that ? I found the .NET class, but there is no property in the API generated to change this property.. Maybe someonen has another idea ?
Thanks for your help!
10-17-2018 04:12 AM
Hello kabooom,
Were you able to find a solution for your question ?
Thanks,
Clement Dekeyser
10-17-2018 07:50 AM
Hi Cdkey...
I didn't manage to use the vi generated by the tool.That's a shame because the tool looks great ...
Finally i used a simple http post command. I used soapUI tool to have the xml string to post and easyXML from jki to generate the string. It works, but any idea to use the vi generated is welcome..