Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Private LAN, network in which LAN enabled instrument directly connected to computer

Test set-up under investigation is a networked in which LAN-enabled MDO4054C Oscilloscope and computer are directly connected, and not connected to site LAN, the image here depicts the error message seen when an example code received along with driver are run.

 

MDO4054_LAN Issue.png

 

 

 

How can I overcome this error#- 1073807194

0 Kudos
Message 1 of 5
(2,845 Views)

Let's look up that error code (Help->Explain Error). "The connection for the given session has been lost."  This tells me you were either never properly connected or the instrument is disconnecting you for some reason.

 

The VISA Resource name has nothing to do with the instrument model, so your screen shot is irrelevant.  Are you able to communicate with the instrument through MAX (Measurement and Automation eXplorer)?  Did you create a VISA alias in MAX?



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
0 Kudos
Message 2 of 5
(2,838 Views)

Yes, I did successfully opened a VISA session to "TCPIP0::169.254.8.81::80::SOCKET"

 

but, when I try to write and read "*IDN?", I see Read Operation Error - connection for the given session has been lost... 

 

(Write is not a problem)

 

MDO4054_LAN Issue.png

0 Kudos
Message 3 of 5
(2,834 Views)

Is there something to do with HTTP Port, which is 80 in present case

0 Kudos
Message 4 of 5
(2,833 Views)

I have only ran into 1 instrument that actually needed the socket defined.  Try using TCPIP0::169.254.8.81::INSTR for the session.

 

Also, what are your computer's network settings (IP Address and Subnet)?  You might have incompatibility there.



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
0 Kudos
Message 5 of 5
(2,823 Views)