Specifications

15
The same type of code is used to reset and initialize the N4962A serial BERT
12.5 Gb/s. Once initialized, the following example performs an autophase and
checks to see if the resulting BER is better than a pre-determined threshold
value (if it is, it exits):
BERT.WriteString(“:SENS:ROSC:PHAS AUTO”, true);
BERT.WriteString(“*OPC?”, true);
temp = BERT.ReadString();
BERT.WriteString(“:SENS:ROSC:PHAS?”, true);
temp = BERT.ReadString().TrimEnd(‘\r’, ‘\n’);
BERT.WriteString(“:SENS:SWE:TIME 0.1”, true);
BERT.WriteString(“:TRIG:INIT”, true);
System.Threading.Thread.Sleep(100);
BERT.WriteString(“:TRIG:SAMP;:SENS:DATA? ALL”, true);
double[] results = (double[])BERT.ReadList(IEEEASCIIType.
ASCIIType_R8, “,”);
if (results[3] > BERTErrThreshold)
{
Environment.Exit(1);
}
Other examples are available. Please contact Agilent Technologies for more
information.