LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW gives error while communicating with Keithley 2400 and Agilent 34970A connected via GPIB

Hey!

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 2400 source meter as a power supply/DMM. These two are connected via a cascaded GPIB cable to a PCI slot in my computer (one of the GPIB cables is from National instruments and the other is from HP (hp10833A)).

 

I have the LV instrument drivers for Agilent 34970A and Keithley 24XX installed. I am encountering the error: ERR -1073807195 with AG34970 'initialize.vi' and with KE24XX 'initialize.vi'. I couldn't see the error description as I had to stop the VI before it completed (is there a way I can see the description?), but from another post, this is the description I found: The interface type is valid but the specified interface number is not configured

 

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. I'm attaching some screenshots of my code and NI-max screen here:

 

 

NIMax1.PNG

This is a capture of NI-Max which shows all the NI software that I have installed. Please let me know if anything is more is required. Also, I've highlighted the GPIB-PCI connection in 'devices and interfaces'. It doesn't identify the Keithley and Agilent 34970A instruments in NI-Max. Also, I do not see a 'scan for instruments' option at the top. (I checked in the Windows device manager for these two devices, but that too only lists NI PCI-GPIB under NI GPIB interfaces)

 

LV1.PNG

This is a screenshot of my code wherein the error shows up. (ignore the ERR -201003 as I've already resolved that).

 

So what am I missing in establishing communication between LV and these instruments? Please help me resolve this issue. Thanks in advance!

0 Kudos
Message 1 of 3
(2,797 Views)

Did you search NI.com and/or the forums for 1073807195?

 

There were a lot of threads that were dead ends.  But two seemed to show a solution.

 

https://forums.ni.com/t5/LabVIEW/the-explaintion-of-the-problem-quot-visa-error-1073807195-quot/td-p...

https://forums.ni.com/t5/NI-TestStand/VIsa-error-code-1073807195/td-p/3208276?profile.language=en

0 Kudos
Message 2 of 3
(2,706 Views)

Hello RavensFan!

In one of the threads that you sent, I found the following post:

LV2.PNG

I have NI-VISA installed

I installed Agilent VISA in the side-by-side mode (as a secondary VISA)

Restarted my computer

I already have the GPIB cable connected to the PC

TULIP was already enabled in NI MAx and I rechecked to make sure

And then, I ran the code but I still get the same error. Is there any installation I need to perform for the GPIB cable connection?

 

Also, some forums mentioned accessing VISA interactive control (VISAIC) via NI Max, so I checked that too. Here's a screenshot:

LV3.PNG

I do not see any GPIB devices listed here as well. However, GPIB is listed under 'Devices and interfaces' in NI Max (as is seen in the picture in my original post).

0 Kudos
Message 3 of 3
(2,685 Views)