LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 6221 & Keithley 2182A Delta Meas Example

Solved!
Go to solution

Hello I am trying to set up a PDelta Meas between the Keithley 6221 and 2182A, however I can't get the Delta meas example to work.

I keep getting error 85 (Scan From String (arg 1) in Keithley 622x.lvlib:KE622x -- 2182 -A Check For SCPI Errors.vi->Keithley 622x.lvlib:KE622x -- 2182 -A Set Auto Range State.vi->Keithley 622x.lvlib:KE622x -- 2182 -A Set Params.vi->Keithley 622x.lvlib:KE622x -- Execute Delta Meas.vi->Delta Meas Example 6221.vi)

Can anyone help.

0 Kudos
Message 1 of 10
(5,394 Views)

I forgot to include the example.

0 Kudos
Message 2 of 10
(5,393 Views)

Hi, 

Have you read this document about the error that you are having?

Error 85 Occurred at Scan From String Function in LabVIEW

0 Kudos
Message 3 of 10
(5,353 Views)
Solution
Accepted by topic author theInfiniteOne

I did read that, and allow the solutions fail.

I found the issue was my files were set to read only.

0 Kudos
Message 4 of 10
(5,348 Views)

Hello together,

 

I have the same problem with the example programm. I get the same error message, but i don´t understand the solution. I´m new to LabView, can somebody tell me which change I have to do?

 

Many thanks in advance.

0 Kudos
Message 5 of 10
(5,289 Views)

When you download the driver from Keithley, it's set to read only meaning you can't make changes to any the instruments drivers. Deselect read all in the driver properties. once you deselect read all use debug mode to find where problems show up. Go down this rabbit hole until you reach scan to string. fix scan to string by converting it to a number.

0 Kudos
Message 6 of 10
(5,271 Views)

Thanks for the feedback. I took away the copy protection. Afterwards I went down step by step into the Programm.

I get this failure code. 

 

Fehler 85 bei In String suchen (arg 1) in Keithley 622x.lvlib:Error Query.vi->Keithley 622x.lvlib:KE622x -- 2182 -A Write.vi->Keithley 622x.lvlib:KE622x -- 2182 -A Set Digital Filter Count.vi->Keithley 622x.lvlib:KE622x -- 2182 -A Set Params.vi->Keithley 622x.lvlib:KE622x -- Execute Delta Meas.vi->Keithley 622x.lvlib:KE622x -- Delta Meas Example.vi

 

So I went into Error Query, but I can not find the mistake in this VI. There are 2 scan in string. Can you exactly tell me where I have to change something? I tried it almost a hundred times with the highlight function, but I don´t get it.

 

Thanks a lot.

Error Query VIError Query VI

0 Kudos
Message 7 of 10
(5,264 Views)

Hello Steve,

 

Did you follow the additional steps in the link provided above?

0 Kudos
Message 8 of 10
(5,251 Views)

Hi, yes I followed it, but I couldn´t find something helpful.

 

But I´ve checked again the code with the highlight function. The problem is not the formattting of the scan. The failure occurs, because after a few repeats of the error query VI, the readed string from the buffer is empty.

 

Normally the string contains "0, no error", but when the failure appears, the string is " ".

So the scan isn´t the problem, I think the commands are the problem. But I don´t have an idea what the problem is.

0 Kudos
Message 9 of 10
(5,231 Views)

I'm getting the same problem. Have you found a solution to this problem? It will be very helpful for me if you can tell me the solution.

0 Kudos
Message 10 of 10
(159 Views)