Hi all!
My previous post regarding this problem did not garner much response, hence I'm reposting to report the issue along with some progress I've had:
I am using LabVIEW 18 for automating a battery life cycling test. This is an old code which has been handed down to me by a senior to run the testing setup. Recently, the CPU for the workstation on which this testing setup resides was changed and hence, there are some errors showing up while communicating with devices.
I am using Agilent 34970A for data acquisition and Keithley 2401 source meter as a power supply/DMM. I have connected the KE2401 source meter via a USB-GPIB cable to the CPU. And the Agilent 34970A is connected with a GPIB-GPIB cable to a National Instruments GPIB card in the PCI slot of my CPU.
I have the LV instrument drivers for Agilent 34970A and Keithley 24XX installed. Also, I've installed the Keithley IO libraries and communication expert along with the Keithley VISA as secondary. I set both the instruments in the GPIB mode via their front panels. Keithley 2400 is in GPIB SCPI mode (I have also tried with GPIB 488.1 mode). Agilent 34970A is in GPIB 488 mode. I have also checked that their primary addresses are the same in the front panel and my code. I have NI 488.2 installed and have enabled TULIP.
Now, both the instruments are being detected by NI MAX under miscellaneous VISA resources and I am able to communicate with them by querying the IDN command. Here are some screenshots:
However, when I run the LabVIEW code which communicates with these, I am encountering an error with the initialize.vi. The error is -1073807195: The interface type is valid but the specified interface number isn't configured.
I also read some forums which asked me to uninstall the Keithley secondary VISA, but that results in NI MAX not identifying my GPIB devices. How do I troubleshoot this issue?