Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Serial Read Error Heratherm OGH100

Solved!
Go to solution

Hello,

 

I am trying to communicate with a Heratherm OGH100 oven from laptop using USB-RS232 adapter. I am using the VISA Test Panel of NI -MAX to send the command.I am querying the oven with "?3010:00::c2\r" as mentioned in manual (\r for <CR>). But I always get a timeout error(see attached).

I have checked all the connection parameters:

stop bit :1

Parity: none

57600 bps

8 data bits

 

Can anybody please help me with this issue?

 

Regards,

Sanhita

 

 

 

Download All
0 Kudos
Message 1 of 6
(2,616 Views)

Noticed you did not use the colon : after the ?.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 6
(2,608 Views)

Hello,

I am so sorry that was a stupid error. Now I get the expected output however, I still get a timeout error. I need to fix that because I want to code this operation in Labwindows. Do you have some suggestions?

Sorry if this is a stupid question. Please excuse me as I am very new to this platform.

Regards,

Sanhita

0 Kudos
Message 3 of 6
(2,586 Views)

Attaching the entire manual would be of help.

What specifically are you sending/doing that returns a timeout error?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 6
(2,554 Views)

I am trying to read the temperature of the oven using the commands given in the manual .I would ultimately like to develop a code to read the temperature of the oven automatically every 5 seconds.

 I have attached the I/0 trace too for reference. The same command does not work the first time I don't know why.

 

0 Kudos
Message 5 of 6
(2,499 Views)
Solution
Accepted by topic author sguha2

Hi,

The issue was regarding the <CR>. A /n was getting appended every time which lead to the error.

Thank you.

0 Kudos
Message 6 of 6
(2,480 Views)