public override double getPJFreqMin()
// M8020A - checked
{
string retString = "";
double val = 0.0;
retString = this.Query(":SOUR:JITT:HFR:PER1:FREQ? " + m_PG_channel + ",MIN");
val = double.Parse(retString);
return val;
}
public override List<string> setPJEnabled(bool b)
// M8020A - checked
{
string strValue = "";
if (b) strValue = "ON";
else strValue = "OFF";
return this.Send(":SOUR:JITT:HFR:PER1:STAT " + m_PG_channel + "," + strValue);
}
public override List<string> setPJFreq(double PJFreq)
// M8020A - checked
{
string strValue = "";
PJFreq = Math.Round(PJFreq, 3);
if ((this.getPJFreqMax() > PJFreq) && (this.getPJFreqMin() <= PJFreq))
strValue = PJFreq.ToString();
else if (this.getPJFreqMax() < PJFreq)
strValue = this.getPJFreqMax().ToString();
else if (this.getPJFreqMin() > PJFreq)
strValue = this.getPJFreqMin().ToString();
else
strValue = this.getPJFreq().ToString();
return this.Send(":SOUR:JITT:HFR:PER1:FREQ " + m_PG_channel + "," + strValue + "Hz");
}