Quantcast
Channel: LabVIEW topics
Viewing latest article 11
Browse Latest Browse All 67271

Mini-Circuits LabVIEW HTTP client doesn't work but browser/CURL does

$
0
0

Trying to implement LabVIEW drivers for this switch using HTTP communication. To get started I'm trying to implement a firmware version check, the example is "http://10.10.10.10/FIRMWARE?" and my device is at 192.168.1.60 so http://192.168.1.60/FIRMWARE? is my URL. When I go to this URL in Chrome I get back the expected version string.

avogadro5_1-1752271803466.png

I can also do "Invoke-WebRequest -Uri "http://192.168.1.60/FIRMWARE?" in PowerShell which returns "F6-2" in the content.

 

For the life of me I can't get the LabVIEW HTTP client to give me back this same string, I always get back "-99 unknown command MN:RC-2SP4T-A18 SN:<redacted>" in the body. I used the chrome dev tools to exactly replicate the headers used in its request but nothing changes this response.

avogadro5_2-1752272485798.png

Based on the fact I do get an intelligible response back from the switch, I don't think it's a security or encryption issue. Maybe encoding but I don't know what to try with that. Any ideas?

 


Viewing latest article 11
Browse Latest Browse All 67271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>