LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HttpClient Function Conflict between LabVIEW 2011 & LabVIEW 2012 - Later

Greetings!

 

I have a requirement to perform Http Get request from LavIEW to a VB application which acts as a web server. I'm using the HTTP Client API's comes with LabVIEW for web service call. I was able to send the request and get it captured by VB application from LabVIEW 2011. But When try to run the same code from LabVIEW 2012 and later, the request is not working. From NI forums, I found HTTP APIs uses ni_httpClient.dll. When I try loading the DLL in call library function the Get-Function name looks different between 2011 and 2012 or higher. 

 

Below is the code snippet,

LabVIEW 2011: ni_web_httpClient_Get
LabVIEW 2016: ni_httpClient_Get
 
Labview2011.PNG
 
Labview2016.PNG
 
Print app.PNG
 
I also verified the URL from other applications like Chrome browser, Postman, and its working.
 
I would like to know the difference between the two DLL versions and how to achieve the functionality that working in LabVIEW 2011. 
 
Kindly somebody help me with this. Thanks in advance!
0 Kudos
Message 1 of 1
(1,847 Views)