08-07-2019
08:39 AM
- last edited on
12-28-2024
04:37 PM
by
Content Cleaner
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.
08-07-2019 09:00 AM
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.
08-07-2019 09:20 AM
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).
08-07-2019
01:37 PM
- last edited on
12-28-2024
04:37 PM
by
Content Cleaner
@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
08-07-2019 02:14 PM
Also be aware that GPIB interface has cable length limitations.
08-07-2019 02:20 PM
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.