EasyManua.ls Logo

Keysight Technologies J-BERT M8020A - Page 69

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 69
Programming Examples 3
public override List<string> setPJFreq(double PJFreq)
// SOUR8:PER:FREQ
{
string strValue = "";
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(":SOUR8:PER:FREQ " + strValue);
}
public override double getPJAmp()
// SOUR8:PER:LEV?
{
return double.Parse(this.Query(":SOUR8:PER:LEV?"));
}
public override double getPJAmpMax()
// SOUR8:PER:LEV? MAX
{
return double.Parse(this.Query(":SOUR8:PER:LEV? MAX"));
}
public override double getPJAmpMin()
// SOUR8:PER:LEV? MIN
{
return double.Parse(this.Query(":SOUR8:PER:LEV? MIN"));
}
public override List<string> setPJAmp(double PJAmp)
// SOUR8:PER:LEV
{
string strValue = "";
if ((this.getPJAmpMax() > PJAmp) && (this.getPJAmpMin() <= PJAmp))
strValue = PJAmp.ToString();
else
strValue = this.getPJAmp().ToString();
return this.Send(":SOUR8:PER:LEV " + strValue);
}
#endregion

Table of Contents

Other manuals for Keysight Technologies J-BERT M8020A

Related product manuals