Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

why can't get the result from MP1590B via VISA TCP Socket

I want to use "TCPIP0::172.18.98.242::5001::SOCKET" to write/read the MP1590 ,
I can connect and write "*IDN?" into MP1590,but I can't read the result using viread.the returned error is "VI_ERROR_TMO BFFF0015h" (VI_ATTR_TERMCHAR_EN=VI_TRUE;VI_ATTR_TMO_VALUE=5000)
by the way,I can get the result from VISA test panle tool and the returned status is VI_SUCCESS_TERM_CHAR 3FFF0005

who can tell me the resean and how to do to get the result via VISA programing
0 Kudos
Message 1 of 2
(3,388 Views)
I use the "*IDN?\n" ,it can work...
0 Kudos
Message 2 of 2
(3,386 Views)