<p>I have two 2400 SMUs. I've set up a GPIB connection to them. If I have them configured for SCPI communication, an *IDN? query leads to a pair of error messages. First -201 ("invalid while in local") and then -420 ("query unterminated"). The second error message makes sense because it was not expecting a query. I cannot understand why the first is occurring.</p>
<p>If I switch the units from SCPI to 488.1 the *IDN? and other commands lead to the expected outcome. Any suggestions why I can't get them working with SCPI?</p>
<p>I am testing with NI MAX and LabVIEW software on a Windows computer. I have a USB to GPIB adapter. There are several other instruments on the same bus that I am not encountering any problems with.</p>
<p>UPDATE: I've continued to troubleshoot this issue, and it appears the root cause was the instrument getting into an error state and needing to receive a reset or clear command. The process of switching between SCPI and 488.1 was doing this, but that was not the fundamental problem occuring.</p>