
74
Keysight M8070A Programming Guide
3
Programming Examples
Sampling Point Alignment Example
N4903B Sampling Point Alignment Example
public bool checkN900()
{
return m_N4900;
}
# region Sampling Point Alignment
public override string autoAlign()
{
string result = "";
this.Send(":SENS1:EYE:ALIGN:AUTO 1");
this.opc();
do
{
result = this.Query(":SENS1:EYE:ALIGN:AUTO?");
} while ((result != "CS_ABORTED") && (result != "CS_FAILED") && (result != "CS_SUCCESSFUL"));
return result;
}
public override string dataCenter()
{
string result = "";
this.Send(":SENS1:EYE:TCEN 1");
this.opc();
do
{
result = this.Query(":SENS1:EYE:ALIGN:AUTO?");
} while ((result != "CS_ABORTED") && (result != "CS_FAILED") && (result != "CS_SUCCESSFUL"));
return result;
}
public override string thresholdCenter()
{
string result = "";
this.Send(":SENS1:EYE:ACEN 1");
this.opc();
do
{
result = this.Query(":SENS1:EYE:ALIGN:AUTO?");
} while ((result == "CS_ABORTED") || (result == "CS_FAILED") || (result == "CS_SUCCESSFUL"));
return result;
}