Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB device not communicating

I am trying to communicate with a Keysight B1500A and a Keithley 2400 sourcemeter using a 82357B USB/GPIB adapter.  NI MAX sees the 2400 and the 1500 but will not return an ID query from either. Ideally I would control the 1500 with Keysightt Connection Expert and the 2400 with LabView. I realize the two ViSA 's may be conflicting with each other and I may not be able to use both at the same time. But at this point I would settle for being able to use either even alone. I have installed drivers for the 2400 and 1500, and the adapter. 

0 Kudos
Message 1 of 6
(1,389 Views)

If NI MAX lists 2400 and 1500, then the ID query is successful, if not there is no way NI MAX would know that there is a device connected to the GPIB.

 

You may be using an incorrect library or command, please verify the command, and termination character required by your instrument.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 6
(1,365 Views)

Actually it turns out MAX is reporting that it sees them when it does not. I tried unplugging all of my GPIB devices, refreshed the device view on MAX, and it still says they are there. Could it have something to do with my USB/GPIB adapter? Other suggestions?

0 Kudos
Message 3 of 6
(1,321 Views)

Refreshing the device view on NI MAX may not scan for instruments under the GPIB interface, instead, try selecting the GPIB interface and invoke Scan for instruments.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Qd6SAE&l=en-US

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6sZSAS&l=en-US

 

Since your GPIB interface is not NI, I am not quite sure if it is the issue.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 6
(1,286 Views)

The problem is most likely with the Keysight GPIB adaptor and the VISA drivers.

 

Follow the instruction here

https://edadocs.software.keysight.com/kkbopen/how-can-i-make-ni-labview-communicate-with-my-82357a-u...

https://www.keysight.com/ca/en/assets/7018-02086/application-notes/5990-3731.pdf

 

Once that is sorted out (Keysight IO installed, NIVISATulip.dll enabled, etc..) then you should be able to control both devices through LabVIEW at the same time.  (I do!  But I'm using and NI-USB-GPIB-HS so a bit simpler setup.)

 

The only other gotcha is the B1500 has two GPIB connectors, one for listening to a PC and one for controlling other devices.  You must make sure that the B1500 is not set as controller in charge!  (That setting is somewhere in the manual and EasyExpert software settings.)  Then reboot everything, don't start EasyExpert on the B1500 and you should be able to control both instruments just fine.

 

Good luck.

Craig

0 Kudos
Message 5 of 6
(1,274 Views)

@cstorey wrote:

The problem is most likely with the Keysight GPIB adaptor and the VISA drivers.

 

Follow the instruction here

https://edadocs.software.keysight.com/kkbopen/how-can-i-make-ni-labview-communicate-with-my-82357a-u...

https://www.keysight.com/ca/en/assets/7018-02086/application-notes/5990-3731.pdf

 

Once that is sorted out (Keysight IO installed, NIVISATulip.dll enabled, etc..) then you should be able to control both devices through LabVIEW at the same time.  (I do!  But I'm using and NI-USB-GPIB-HS so a bit simpler setup.)

 

The only other gotcha is the B1500 has two GPIB connectors, one for listening to a PC and one for controlling other devices.  You must make sure that the B1500 is not set as controller in charge!  (That setting is somewhere in the manual and EasyExpert software settings.)  Then reboot everything, don't start EasyExpert on the B1500 and you should be able to control both instruments just fine.

 

Good luck.

Craig


Are you trying to use NI drivers with a Keysight GPIB controller?  That will probably not work.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 6 of 6
(1,272 Views)