09-16-2014 04:40 PM
@ichigo55 wrote:
I know a little bit about both I have only dove into lab view only over the last few months to create this automated process where I need to keithley devices to take readings I know the address of both but only the one with address sixteen is being seen since that is the primary address of the cable it seems like.
All your devices must have unique addresses - including the controller. Maybe the one that is't working has the same address as your controller?
09-16-2014 04:44 PM
I whish that was the issue the one that is working is the one that has the same address as the controller as to where the one with a different address is not being seen. So I have one keithley with address of 5 and another with address 16 and the 16 one is being seen.
09-16-2014 04:44 PM
09-16-2014 04:48 PM
So in NI max it says that the gpib visa address is GPIB0::16::INSTR so when I try and communicate with one of the devices and I change the address on the device to 16 the GPIB cable sees it and is able to read it when I do idn? and do a read function on it. However when I attach the controller to the second keithley that has address of 5 for example it gives me a time out error.
09-16-2014 04:49 PM
And yes both devices are set to gpib
09-16-2014 05:02 PM
09-16-2014 05:07 PM
@ichigo55 wrote:
So in NI max it says that the gpib visa address is GPIB0::16::INSTR so when I try and communicate with one of the devices and I change the address on the device to 16 the GPIB cable sees it and is able to read it when I do idn? and do a read function on it. However when I attach the controller to the second keithley that has address of 5 for example it gives me a time out error.
I'm not sure what you mean by "GPIB cable"? DId you rescan for new GPIB devices before trying out address 5?
09-16-2014 05:12 PM
So I have attached a screen shot of my nimax showing the primary address and so on. It says primary 16 gpib interface 0. On the keithley device I change that address to 16 when it is sixteen the computer recognizes it and is able to successfully get a reading from it. However on the second device I have as a different address number 5 for instance it will not recognize it. Please refer to attachments to see what I am talking about as far as nimax is concerned.
09-16-2014 05:17 PM - edited 09-16-2014 05:20 PM
@ichigo55 wrote:
So I have attached a screen shot of my nimax showing the primary address and so on. It says primary 16 gpib interface 0. On the keithley device I change that address to 16 when it is sixteen the computer recognizes it and is able to successfully get a reading from it. However on the second device I have as a different address number 5 for instance it will not recognize it. Please refer to attachments to see what I am talking about as far as nimax is concerned.
Now we are getting somewhere. You hook them both up and do a scan and you only see one? If that is the case, maybe the instrument is bad. OR, the cable attached to it is bad.
Oh, and the screenies answer my question as to what the GPIB cable is. 😄
I'd like to see the address of the controller. I've seen them default to... 16. Not as common as 0, but I've seen it.
09-16-2014 08:09 PM