Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet control : can't find my device (keithley 6221)

Hi

 

I'm trying to control a Keithley 6221 remotely via ethernet, but I'm having trouble detecting the device. The 6221 and PC are both connected to my university network, I've contacted the admin, who authorised the 6221 and gave it an IP address, and I can ping it from the PC using the IP address. However, MAX can't autodetect it, and I tried specifying the IP address, and MAX still couldn't find it.

 

I tried to connect the PC and 6221 together via a local network, with the 2 connected via a hub, and this worked fine, and I was able to detect the 6221 via MAX. However this isn't possible as a permanent solution, as I need external network access on the PC.

 

My config :Labview 2012, Win XP

 

Thanks

0 Kudos
Message 1 of 14
(9,316 Views)

Can't you give the Keithley a static IP address and add an alternate network configuration to your PC's NIC?

0 Kudos
Message 2 of 14
(9,299 Views)

Hi NYC. The Keithley already has a static IP on the university network (because it didn't work in DHCP mode).

Could you expand on the altenate network config ? I'm not sure how that works.

0 Kudos
Message 3 of 14
(9,293 Views)

@scalpas wrote:

 

Could you expand on the altenate network config ? I'm not sure how that works.


Google is your friend.

 

0 Kudos
Message 4 of 14
(9,275 Views)

Thankyou NYC ...

I don't understand how what you suggest would help my situation, so if you could give a bit more detail, then I would at least know what to look for on google.

0 Kudos
Message 5 of 14
(9,271 Views)

Hi,

 

You could also create your device manually in MAX.

 

Kees

0 Kudos
Message 6 of 14
(9,268 Views)

Hi Kees

 

Yes I tried that. I entered the IP address manually, but not the "LAN device name" as I don't know what that is, and MAX couldn't detect my device. Is the LAN device name necessary, and if so, what is it ?

0 Kudos
Message 7 of 14
(9,257 Views)

This is a pure shot in the dark, but it is sounding like there is a subnet and/or domain issue when using the public network.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 14
(9,252 Views)

Hi crossrulz

 

That might be the problem, although I can ping the generator with the computer. Could the problem be with MAX otherwise ?

0 Kudos
Message 9 of 14
(9,248 Views)

Hi

I have myself serious problems with 6221 connecting via the ethernet interface. However, I think that the best for your case would be :

1. to install an additional ethernet card (10 usd) on your computer to which you can connect directly the 6221. this can have 192.168.0.1 address with 255.255.255.0 subnet mask and nothing for the gateway.

2. for 6221 you need to give it a fixed adress on the some domain such as 192.168.0.2, 0 on the gateway and 255.255.255.0 on the subnet mask.

now you have ethernet for 6221 with a fixed ip and you have internet with the other card.

I have this configuration and sometimes it works somethimes doesn't (I think that my device has a problem I contacted Keithley and try to find out), but at least on paper it is the best config.

Another option would be to have a routeur with NAT but this is more costly and in general more difficult to manage.

Wathever MAx says, you need to try to ping your source and if this is OK, try to use visa (if the passport is enabled ?! I think)

and the source address should be something like TCPIP::192.168.0.2::1394::SOCKET (or INSTR ?)

the port for the source 6221 is 1394

pls tell us how it is going

0 Kudos
Message 10 of 14
(9,215 Views)