Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to communicate with Agilent 34410a in Labwindows/CVI via TCP/IP

To Josh
No my PC has got only one eth. port and wi-fi card that is presently turned off.
Rolly
0 Kudos
Message 11 of 13
(1,404 Views)
To Pankaj
I followed the advice. Please find here attached the captured file from Wireshark and those from ni_spy. From Wireshark it seems that after a RPC with a GetPort() request from my PC (193.205.194.194) the Agilent (192.168.213.193) responds with a port number of 1024 and nothing else.
Cheers
Rolly
Download All
0 Kudos
Message 12 of 13
(1,389 Views)
Rolly,

Thanks for the captures. It is strange that there seems to be no TCP communication in the log. MAX always tries to open a TCP session to the port returned in the GetPort() reply from the portmapper. Either the TCP communication wasn't captured, or it didn't take place. The only case that I have seen so far where the TCP communication doesn't even take place is when there is a firewall blocking the communication to the destination ip/port.

Also, the NI-Spy captures didn't seem to be of the discovery process. Maybe you captured your program's activities and not MAX's discovery process in NI-Spy.

So lets try to simplify our logs a bit. I read in your earlier post that you tried with just a crossover cable between your PC and the device. Lets go back to the same setup if possible (or just a simple network with just the host and device attached to a hub). Also, verify that the firewall is turned off and that Wireshark is indeed setup to capture the TCP communication. Once you do that, do the following in sequence:
1. Open MAX and get ready to auto-discover TCPIP devices.
2. Start both the captures (Wireshark and NI-Spy).
3. Do the auto-discovery. Don't worry about the result.
4. Stop both the captures once the auto-discovery finishes.

Post the logs again and lets see if we can get more information out of them.

Pankaj

0 Kudos
Message 13 of 13
(1,368 Views)