LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

First time using ethernet communication (JSON). I need help please thanks

knopp communication.PNG

 so i tried this code and i'm having trouble. i'm not sure what should i put in the buffer url. but it's the right ip address. also provided the knopp json functional command. i'm not sure what i'm doing here. does the equipment seller needs to provide the url part? i don't know. thank you guys i hope you guys can help me out. i really appreciate it. please let me know if i need to provide more info.

0 Kudos
Message 1 of 4
(1,732 Views)

The code you posted is attempting to use the RESTful API, but looking through the PDF you uploaded it is just standard TCP/IP communications, not RESTful.  Take a look at the TCP pallet under Data Communication > Protocols.  You probably want to do something like this:

 

 

BowenM_1-1617910165806.png

 

 

0 Kudos
Message 2 of 4
(1,700 Views)

Thanks for your help man. I'll look into this one. not sure if i can do it this week though, my hands are full. I appreciate it.

I'll update you as soon as I have time to try it.

0 Kudos
Message 3 of 4
(1,642 Views)

Did you ever get this to work? I have the same exact problem as you and posted my own forum post to get this resolved. https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/TCP-read-timeout-error-for-Knopp-KATC-C2-V2/...

0 Kudos
Message 4 of 4
(1,566 Views)