public override double getSJFreqMin()
// M8020A
{
string retString = "";
double val = 0.0;
retString = this.Query(":SOUR:JITT:LFR:PER:FREQ? " + m_PG_channel + ",MIN");
val = double.Parse(retString);
return val;
}
public override List<string> setSJEnabled(bool b)
// M8020A
{
string strValue = "";
if (b) strValue = "ON";
else strValue = "OFF";
return this.Send(":SOUR:JITT:LFR:PER:STAT " + m_PG_channel + "," + strValue);
}
public override List<string> setSJFreq(double SJFreq)
// M8020A
{
string strValue = "";
SJFreq = Math.Round(SJFreq, 3);
if ((this.getSJFreqMax() > SJFreq) && (this.getSJFreqMin() <= SJFreq))
strValue = SJFreq.ToString();
else if (this.getSJFreqMax() < SJFreq)
strValue = this.getSJFreqMax().ToString();
else if (this.getSJFreqMin() > SJFreq)
strValue = this.getSJFreqMin().ToString();
else
strValue = this.getSJFreq().ToString();
return this.Send(":SOUR:JITT:LFR:PER:FREQ " + m_PG_channel + "," + strValue +"Hz");
}