
76
Keysight M8070A Programming Guide
3
Programming Examples
M8020A Sampling Point Alignment Example
public override string autoAlign()
{
string result = "";
/*
* do
{
result = this.Query(":STATus:OPERation:RUN:EVENt?");
}
while ((int.Parse(result) % 2) == 0);
*/
this.Send(":INP:ALIG:EYE:AUTO " + m_ED_channel);
this.opc();
/*
do
{
result = this.Query(":INP:ALIG:EYE:RES:DEL? " + m_ED_channel);
} while (result == "");
*/
return result;
}
public override string dataCenter()
{
string result = "";
this.Send(":INP:ALIG:EYE:TCEN " + m_ED_channel);
this.opc();
/*
do
{
result = this.Query(":INP:ALIG:EYE:RES:DEL? " + m_ED_channel);
} while (result == "");
*/
return result;
}