
Keysight M8070A Programming Guide
77
Programming Examples
3
public override string thresholdCenter()
{
string result = "";
this.Send(":INP:ALIG:EYE:ACEN " + m_ED_channel);
this.opc();
/*
do
{
result = this.Query(":INP:ALIG:EYE:RES:THR? " + m_ED_channel);
} while (result == "");
*/
return result;
}
public override List<string> sync()
{
return this.Send(":DATA:SYNC " + m_ED_channel);
}
# endregion
#region sampling point - implemented for M8020A
public override List<string> setSamplingPointDelay(double x)
{
string delay = "";
delay = (1.0e9 * x).ToString() + "e-9";
return this.Send(":INP:DEL " + m_ED_c "," + x.ToString());
}
public override double getSamplingPointDelay()
{
string retString = "";
double val = 0.0;
retString = this.Query(":INP:DEL? " + m_ED_channel);
val = double.Parse(retString);
return val;
}
#endregion