LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview GPIB between two Chassis

Hello community,

 

I am trying to get two chassis (NI-1095s) to communicate with one another. I am struggling to get the example to work. Is it possible to have two chassis communicate via GPIB? I set one as the master. I've also tried these steps to no avail https://www.ni.com/en/support/documentation/supplemental/06/gpib-messages.html.

 

Also, Is there any way to controller the GPIB port for anything? I seem to be running into nothing but roadblocks. Any help or guidance would be appreciated.

 

 

0 Kudos
Message 1 of 6
(2,431 Views)

I have to ask, why GPIB to communicate between the chassis?  It is a rather old technology that is particular to instruments.

 

Why not use TCP/IP to communicate between the two?  There are also various toolkits for message between different LabVIEW apps on different computers on the same network that could abstract away the details of the TCP/IP scheme for you.

0 Kudos
Message 2 of 6
(2,416 Views)

The project requirements require it. Ideally we would have the controller to be communicating with something else besides a chassis but for now, we just have the chassis available.

 

Additional info: When I use max to scan for instruments, nothing is showing up and I have tried the troubleshooting suggestions for it as well (the addresses are 2 and 1 also, so no 0).

0 Kudos
Message 3 of 6
(2,402 Views)

@bchang32 wrote:

Additional info: When I use max to scan for instruments, nothing is showing up and I have tried the troubleshooting suggestions for it as well (the addresses are 2 and 1 also, so no 0).


MAX expects a GPIB slave to respond to commands. You need to create a slave VI function that listens on the second GPIB board.

 

There is an old example here:

https://forums.ni.com/t5/Example-Code/Archived-Simulating-a-GPIB-Instrument-in-LabVIEW/ta-p/3996049

 

 

0 Kudos
Message 4 of 6
(2,349 Views)

Also be aware that GPIB interface has cable length limitations.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 6
(2,325 Views)

Thank you, but our cable length is about 2m. From what I see online, the limit is about 20 m. I am going to try the non-controller vi and pray.

0 Kudos
Message 6 of 6
(2,322 Views)