LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Communication

Hi All,
I have a AT-GPIB card and i have connected 3 instruments to the GPIB bus(2-Agilent DC power supplies) and 1 California AC source to the following address 1,5,7 resepectively i can communicate with these 3 instrument without any problem. Now i have connected one more instrument even that is california instruments ac source at address 2. When i open my Test & Mesurement Explorer whereas it shows 30 deveices in the GPIB section wheras the total instruments is only 4 in number. And i am not able to communicate with 4th device also. I am not able to understand what is the problem, Can u please let me know where is the problem lies. The 4th instrument is and the GPIB controller is at 10 meters distance. Is the distance creating any problem.

Kindl
y any one of you help me out in this.

Waiting for your reply,
Thanks,
-Anil
Anil-B'lore
0 Kudos
Message 1 of 3
(2,630 Views)
Years of working with GPIB has taught me many things, but the most important has been that when it works, it's great, when it doesn't, it's very frustrating. 10 meters might be a problem, but I doubt it. GPIB will usually work 25-50% beyond the written specs, especially with so few instruments on the bus. Here's my suggestion:

1) Did you loop the GPIB chain by mistake? GPIB won't work this way. It will only work daisy-chained.

2) Move the instrument at addr 1 to another address. GPIB addresses 0 and 1 are usually reserved for the controllers. While setting an instrument at 1 shouldn't cause and issue if you're using a single controller at address 0, it might. I always avoid setting an instrument at address 1.

3) Take all the instruments off the
bus. Then put them back on one at time, scanning the bus each time. Then do the 4 combinations of 2 instruments. Then do the combinations of 3 instruments. Finally, try all 4 again. This way you can isolate the problem to more certain situations.

My guess is it's either a bad GPIB cable (but not necessarily the one attaching the last instrument) or a bad GPIB controller in the 4th instrument. Less likely, but still possible is a bad GPIB main controller.

If you do all this and still have problems, respond with the results and I'll try to help more.

Hope this helps.
Dave.
==============================================

0 Kudos
Message 2 of 3
(2,630 Views)
Is the 4th instrument in a "Listen Always" mode?
I use to do that with a printer - made it a cheap (?) GPIB analyzer - but also caused the 30 devices to appear.

Either that, or as Dave said, check for broken cables/bad connectors.

Les.Hammer@CompleteTest.com
0 Kudos
Message 3 of 3
(2,630 Views)