Is it possible to format the following SCPI commands so that TC does not split the SCPI command based upon the embedded space?
#askValues FETC? @1[mode:VoltageDC,VoltageAC,VoltageACDC,CurrentDC,CurrentAC,CurrentACDC,Resistance,Capacitance,Temperature,Frequency,Period,Conductance,DutyCycle,Decibel_m,Decibel_V,0-20mA,4-20mA,PulseWidth,HighResistance];FETC? @2[mode:VoltageDC,VoltageACDC,CurrentDC,CurrentACDC,DistanceMeter,DistanceFoot]
#askMode CONF? @1,CONF? @2
The Keysight U1461A requires the space. For example, CONF?@1 is rejected by the U1461A.
The reason the official KeysightU1461A.txt works is that it is using abbreviated forms of the commands, i.e., FETC? instead of FETC? @1 and CONF? instead of CONF? @1. All of those forms reference the Primary display. The secondary display, however, requires the @2 form of the commands (as shown above in #askValues and #askMode).
Surrounding the SCPI commands with double quotes or single quotes does not solve the problem. Trying to fool TC with unQuote("CONF? @1") does not work. "CONF?\s@1" and CONF?\s@1 do not work.