Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

socket to use for ethernet connection

How do I know what socket to use when I call
TCPIP::255.255.255.255::xxxx::SOCKET?

Derek

0 Kudos
Message 1 of 3
(3,465 Views)
Hi Derek,

I think I just answered this same question in a different Discussion Forum. Anyways,
Answering this question, the socket number is really the port number through which your instrument communicates. You can find this number in the manual of your instrument. If you have a different way to communicate to this instrument through the network, then what you can do is use the Ethereal software (not NI software), to capture all the TCP packets when you are communicating to it and see what is the port number that it uses.

Best regards,
Ricardo SR
National Instruments
0 Kudos
Message 2 of 3
(3,465 Views)
I find nothing in the manual to help. I can set the http port in the settings, would that be the port I use?

Derek
0 Kudos
Message 3 of 3
(3,465 Views)