AnsweredAssumed Answered

Hello, could you please tell me what is wrong with code below: I try to use SCPI command in Visual Studio and in particular CALC:FUNC:TYPE to obtain the min data of a measurement with a PNA.  string chan = "1";             string trace = chans[0];       

Question asked by srlab on Aug 8, 2017
Latest reply on Aug 10, 2017 by srlab

Hello, could you please tell me what is wrong with code below: I try to use SCPI command in Visual Studio and in particular CALC:FUNC:TYPE to obtain the min data of a measurement with a PNA. 

Thank you.

 

 

string chan = "1";
string trace = chans[0];

 

MbSession.Write(String.Format("CALCulate{0}:PARameter:SELect '{1}'", chan, trace));
MbSession.Write("CALC:FUNCT:TYPE MIN");
string x = MbSession.Query(String.Format("CALCulate{0}:FUNC:DATA? FDATA '{1}'", chan, trace));

Outcomes