09-18-2018 05:44 AM
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
Solved! Go to Solution.
09-18-2018 06:19 AM
09-18-2018 06:21 AM
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.
09-18-2018 06:58 AM
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
09-18-2018 06:59 AM
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
09-18-2018 08:13 AM
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
09-18-2018 08:18 AM
I have tried "?:3010:00::c2<CR>" but not the /r and /n, I will try it and respond when I can. Thanks!
/D
09-18-2018 09:24 AM
@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.
09-19-2018 02:39 AM
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
09-19-2018 06:43 AM
Just to make sure, you are pressing the QUERY button and not the WRITE button?