Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout error with ethernet instrument

Solved!
Go to solution

Hello,

 

I am having a hard time communicating with a Tektronix DMM4050 through Ethernet.

 

I added the device in MAX by adding by Manual Entry of Raw Socket (Auto-detect and manual entry of LAN instrument didn't work).

 

What works:

Provided I Enable Termination Character in I/O Settings, I can send the *IDN?\n query to the instrument, which results in a nice "TEKTRONIX,DMM4050,2199203,08/02/10-11:53\r\n" string.

 

What does not work:

The simple code below

 

Snippet.png

 

Results in a VISA: (Hex 0xBFFF0015) Timeout expired before operation completed. error.

 

Any suggestion would be greatly appreciated 😉

 

Boris

LabVIEW 2013 SP1
Windows 7 64bit
Windows Server 2012 64 bit
Windows 8.1 32 bit
0 Kudos
Message 1 of 3
(4,523 Views)
Solution
Accepted by topic author Baobob

What display format are you using for your string constant?  Set it to "'\ ' Codes Display".  Then you should have "*IDN?\n".  I'm thinking if you switch the display it will read "*IDN?\\n" which will not terminate the command for the scope and therefore it does not recognize the command.



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 2 of 3
(4,519 Views)

Hi crossrulz!

 

That was the problem. Thank you so much.

 

Alternatively, one can keep Normal Display and just insert a new line:

 

Snippet.png

LabVIEW 2013 SP1
Windows 7 64bit
Windows Server 2012 64 bit
Windows 8.1 32 bit
0 Kudos
Message 3 of 3
(4,495 Views)