WinXP/LV6.1/GPIB-232CV-A in timeout & C mode to a Keithley 2002 DMM.
Some commands work fine like *IDN?\n or *ESR?\n. It seems as long as I concatenate a query on to the of a command I get no errors, i.e. (-420 query unterminated). So I concatenated Sense, Trigger setup, Formatting and Read into one big string and then it works. What is the proper syntax for message termination?
i.e. :FUNC 'FRES';:FRES:APER:AUTO ON;:FRES:RANG:AUTO ON;:FRES:DIG 5;:FRES:REF:STAT OFF;:FRES:OCOM OFF;:FRES:AVER:STAT OFF;ADV:STAT OFF;:Form:Elem Read,Chan,Rnum,Unit,Time;
:STAT:MEAS:PTR 32767;NTR 0;ENAB 32;:*SRE 1;:*SRE 0;:DATA?