LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize error in Keithley 2470 Meter through GPIB interface

Solved!
Go to solution

Hi

I am trying to interface 2470 Keithley meter with PC via LabView 2017 using GPIB. GPIB address appears properly but when I execute the initialize VI, it gives attached error.

I am attached error pic and VI, please help me how I can resolve this issue.

Download All
0 Kudos
Message 1 of 5
(974 Views)

Hi Aashi,

 


@Aashi wrote:

when I execute the initialize VI, it gives attached error.


This error is given from your Keithley device. You need to read its manual to learn the meaning of that "error -113"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(949 Views)

According to the error message the error happens in the Reset.vi function. This means that the enabled *IDN? query actually seems to work, so the GPIB interface is not entirely dysfunctional. But what GPIB interface are you using?

 

And can you startup NI Spy in NI-Max and capture the actual GPIB transactions and attach the NI Spy log to your next post?

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 5
(944 Views)
Solution
Accepted by topic author Aashi

@GerdW wrote:

Hi Aashi,

 


@Aashi wrote:

when I execute the initialize VI, it gives attached error.


This error is given from your Keithley device. You need to read its manual to learn the meaning of that "error -113"…


 

SCPI error -113 is common to all devices and just means "unrecognized command".  

 

It looks like you're using the "24XX" library, which you would think would work for a 2470, but it actually doesn't.  24XX is for models 2400 through 2440.  You need the 2450 library, which is for models 2450 through 2470.

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=C60A01B54D241AE8E05400144FFA32...

 

 

Message 4 of 5
(925 Views)

Hi GerdW

Thanks alot for your help.

It has solved my problem.

0 Kudos
Message 5 of 5
(869 Views)