LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About error -140

Solved!
Go to solution

Hello,

 I am a new user of Lab VIEW. I have a problum when i connect my keithley multimeter with labVIEW with GPIB port. it gives an error -140. What is it? and how can i resolve it? please help me.

thanks,

0 Kudos
Message 1 of 8
(5,080 Views)
Solution
Accepted by Pawan Patidar

That is an error from the Keithley.

 

"Character data error"

 

The meter did not like something you sent it. Syntax error or something.

Check the Keithley manual with the string you are sending it.

Omar
0 Kudos
Message 2 of 8
(5,068 Views)

Hi

thanks for your kind attention. Will you please check the error in syntax in the program attached because I am unable to find the function where the error will come from?

Thanks

0 Kudos
Message 3 of 8
(5,057 Views)

The error comes from the 'Write GPIB' most likely, I see that you don't specify the decimal sign of your string, I altere the string formatter to make sure it's a point:

decimalcharacter.png

 

Ton

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 8
(5,051 Views)

Hello

First I would like to say thanks for your kind attention. The error -140 is solved but now it gives the error -410 at same place. What is it and how can we handle this error in the program.

Thanks and regards

Pawan Patidar

0 Kudos
Message 5 of 8
(5,042 Views)

Have you looked in your Keithley manual to see what error -410 means?

 

Query INTERRUPTED

What does the Keithley manual say how one might interrupt or abort an action

 

So what are you doing to interrupt the query?

 

How are you commutating with the Keithley?

There are lines on the GPIB bus that can abort and take the  Keithley out of TALKER mode

Sending a *cls?

Sending a *rst?

Pushing front panel button on the Keithley during a query?

Hidden control char in your string like a ctrl-C

 

Might need to see more of your code.

Omar
0 Kudos
Message 6 of 8
(5,030 Views)

Hello

I am not asking for the error 410 which is query interrupted instead I am asking for the error -140. So will you please explain about that error..

Thanks

0 Kudos
Message 7 of 8
(5,013 Views)
READ the Keithley manual!


@Pawan Patidar wrote:

Hello

I am not asking for the error 410 which is query interrupted instead I am asking for the error -140. So will you please explain about that error..

Thanks

 

Pawan Patidar also wrote

The error -140 is solved but now it gives the error -410 at same place


So which is it -140 or -410

Ton gave you an explaination for the -140 error

 

Do you have a Keithley manula and have you read it?

Omar
0 Kudos
Message 8 of 8
(5,009 Views)