Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP IP VISA Read Error -1073807339

Solved!
Go to solution

Hello,

I am having a problem reading from an instrument (Julabo Presto A80 Temperature Controller).using Ethernet connection. I can successful ping the unit. And with MAX I am also able to add this as a new TCP/IP VISA resource using manual entry of raw socket using the instrument's port number, and I can successfully send and receive messages using a test panel to the unit within MAX.

 

However, when I close the test panel and try to do this through a vi, I continuously get the timeout error -1073807339 at the VISA Read, with no returned data. To the best of my knowledge, I have configured the connection with identical properties to those used in the test panel. Has anyone encountered/solved this problem? Snippet attached.

 

Appreciated,

PaulR

0 Kudos
Message 1 of 3
(1,136 Views)
Solution
Accepted by topic author paulr9128

Hi

The string you send shows version\r but in what mode is that string?

If it is in normal show mode it is indeed sending the \r instead of the return character.

You can right click the string version\r and select another display style.

If display style is set to normal, what I expect it wil indeed send a \ and an r.

if you set the display style to "\" codes display, as shown below.2023-07-16 11_32_02-.jpg

You can indeed change the string to version\r and it will send the version and the carriage return character.

greetings from the Netherlands
0 Kudos
Message 2 of 3
(1,097 Views)

Thank you Geven. This was in fact the root cause of this error.

 

Also, thanks to other users that recommended Wireshark- very useful tool.

 

PaulR

0 Kudos
Message 3 of 3
(1,039 Views)