EasyManua.ls Logo

Keysight Technologies J-BERT M8020A - Page 71

Keysight Technologies J-BERT M8020A
502 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Keysight M8070A Programming Guide 71
Programming Examples 3
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");
}

Table of Contents

Other manuals for Keysight Technologies J-BERT M8020A

Related product manuals