From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

420 Query-unterminated

when I try to communicate to Keithley Model 2000 by GPIB-RS232,I send "*IDN?\n" it is OK. When I send another command like ":CONFigure:FRESistance\n" ,the device show " ERROR -420 Query unterminated". I don't know why.Tell me!Thanks!

0 Kudos
Message 1 of 2
(2,877 Views)

@HelloWorld2 wrote:

When I send another command like ":CONFigure:FRESistance\n" ,the device show " ERROR -420 Query unterminated".


If you are trying to ask the instrument for what it is set to, you need a "?".  So your command really needs to be ":CONFigure:FRESistance?\n"


GCentral
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 2
(2,833 Views)