Our online shopping is experiencing intermittent service disruptions.

Support teams are actively working on the resolution.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Serial read error

Solved!
Go to solution

I´m trying to read data from my OHM60 Heratherm oven with a RS-232 cable and Visa Test Panel /Visa interactive control. 

I´ve followed the OHM60 document and enter the wanted parameters:

— 57600 bits per second
— 8 data bits
— 1 stop bit
— No Parity

Also entered the given commands from the document, (?:3010:00::c2) in order to read the temperature. But when sending Read/Query i get this error:

"Read Operation
Error

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed."

 

I´ve looked around this forum and googled for many hours but can´t find a solution.

Please help.

/D

0 Kudos
Message 1 of 17
(3,204 Views)

Did you finish with a crlf or other endcharacter specified in the manual?

greetings from the Netherlands
Message 2 of 17
(3,195 Views)

My first thought is that you need to add a Line Feed to your command in order for the instrument to know the message is complete.

 

Otherwise, I recommend you post your code and we may be able to spot something that is wrong.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 17
(3,193 Views)

Thanks for the fast response!
I did not really write any code just wrote the simple command line as in the picture attached. What kind of Line Feed should I add ?

Sorry if I am a big ignorant, I am quit new to this. Thanks in advance.

I attached the page from the manual with the command syntax and so.

/D

Download All
0 Kudos
Message 4 of 17
(3,188 Views)

Thanks for the fast respons!

No I do not think so, in the  Visa Test Panel I filled in the parameters and pressed the "Input/Output" tap, then enter my command which is the ?:3010:00::c2 as I mentioned and then pressed Query and/or Read. Which gave the error.

See picture "Visa test panel.png"

/D

 

Download All
0 Kudos
Message 5 of 17
(3,185 Views)

Look at the manual on page 5-13.  Try adding the <CR> character to the end of your query.  It should work with the first line.  If not, try the other.

?:3010:00::c2\r
?:3010:00::c2\n
Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 6 of 17
(3,181 Views)

I have tried "?:3010:00::c2<CR>" but not the /r and /n, I will try it and respond when I can. Thanks!

/D

0 Kudos
Message 7 of 17
(3,179 Views)

@wasa1 wrote:

I have tried "?:3010:00::c2<CR>" but not the /r and /n, I will try it and respond when I can. Thanks!

/D


The "\n" when in "\ Codes" display represents a <CR><LF>.  Likewise, "\r" will represent a <CR>.  If you are in a normal/ASCII only display, this will not work for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 8 of 17
(3,174 Views)

Sorry but when trying to use \r and \n as you mentioned it does not work. Any ideas?

See attached picture: Visa test panel1.PNG

/D

0 Kudos
Message 9 of 17
(3,144 Views)

Just to make sure, you are pressing the QUERY button and not the WRITE button?

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 10 of 17
(3,136 Views)