AnsweredAssumed Answered

34972A is clearing previous CONF commands and only retaining the last

Question asked by em21701 on Oct 21, 2014
Latest reply on Oct 22, 2014 by em21701
I have a 34972A with a 20 channel mux installed. I am programming in C# connected by USB and VISA. I send the CONF commands to the unit followed by the CONF? command for confirmation. The unit responds correctly, however, when I send the next CONF command the previously configured channels return to an off state.

Code Snippet

string output = "CONF:VOLT:DC AUTO,MAX,(@" + channelList + ")";
Benchlink.Connection.WriteString(output);
Console.WriteLine(output);
Benchlink.Connection.WriteString("CONF?");
Console.WriteLine(Benchlink.Connection.ReadString());

string output = "CONF:VOLT:DC 100,MAX,(@" + channelList + ")";
Benchlink.Connection.WriteString(output);
Console.WriteLine(output);
Benchlink.Connection.WriteString("CONF?");
Console.WriteLine(Benchlink.Connection.ReadString());

-----
Output

CONF:VOLT:DC AUTO,MAX,(@101,102,103)
"VOLT +1.000000E+01,+1.000000E-03","VOLT +1.000000E+01,+1.000000E-03","VOLT +1.000000E+01,+1.000000E-03"

CONF:VOLT:DC 100,MAX,(@104)
"VOLT +1.000000E+02,+1.000000E-02"

Can anyone shed some light on why only the most recent CONF command is stored and the previous are cleared? Every code example I have read suggests this should work fine. 

Things I have tried:
1. Environment.NewLine at the end of each command
2. Colons (:) before CONF...
3. Typing out the command completely :CONFigure:VOLTage:DC AUTO,MAX,(@...)

Thanks in advance,
Eric

P.S. No CODE tags, really?  

Outcomes