LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect several GPIB

Solved!
Go to solution

Hello,
I work with molblocs connected by GPIB cable.
I would like to be able to connect several of them in parallel, i.e. all on top of each other to my GPIB port on my acquisition module.
When I connect only one I can read its identity on NI MAX but when I connect several the identity takes very strange forms that I can't read.
I would like to know how to differentiate them and especially how to select with which of my two devices I want to communicate at the moment.
Has anyone ever been in this situation?
I have already read this article https://www.ni.com/getting-started/set-up-hardware/instrument-control/f/gpib-usb , but it did not help me much, I do not understand what is meant by "If you have several instruments on the bus, you can determine the address of a particular instrument by disconnecting all the others."
Thanks for your help.
Margot.

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

@aerosimon wrote:

Hello,
I work with molblocs connected by GPIB cable.
I would like to be able to connect several of them in parallel, i.e. all on top of each other to my GPIB port on my acquisition module.
When I connect only one I can read its identity on NI MAX but when I connect several the identity takes very strange forms that I can't read.
I would like to know how to differentiate them and especially how to select with which of my two devices I want to communicate at the moment.
Has anyone ever been in this situation?
I have already read this article https://www.ni.com/getting-started/set-up-hardware/instrument-control/f/gpib-usb , but it did not help me much, I do not understand what is meant by "If you have several instruments on the bus, you can determine the address of a particular instrument by disconnecting all the others."
Thanks for your help.
Margot.


It sounds like you have more than one device sharing the same GPIB address and they are talking over each other as they are both trying to answer a query.

 

Check every device and make sure they are all set to a different GPIB address.

 

As for the "If you have several instruments on the bus, you can determine the address of a particular instrument by disconnecting all the others." part...

 

  1. Connect one single device to your GPIB interface
  2. Use NI-MAX to "Scan for Instruments"
  3. See what GPIB address that one is found at
  4. Connect another single device
  5. Do it again, 

 

 

========================
=== Engineer Ambiguously ===
========================
Message 2 of 6
(1,605 Views)

Yes, it seems that the problem comes from the... Now I can't figure out how to change the primary address of a device! Is this possible? Thank you for your help!

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

Hi Simon,

 


@aerosimon wrote:

Now I can't figure out how to change the primary address of a device! Is this possible?


Read the manual of your devices!

Or ask their manufacturer…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(1,532 Views)

@aerosimon wrote:

Yes, it seems that the problem comes from the... Now I can't figure out how to change the primary address of a device! Is this possible? Thank you for your help!


That information should be in the manual for your device.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 6
(1,521 Views)
Solution
Accepted by topic author aerosimon

Actually no, but you can change the primary address of the molbloc directly on the molbox: by pressing "special" "remote" "IEEE488" thanks for your help

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