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