EasyManuals Logo

Keysight Technologies J-BERT M8020A User Manual

Keysight Technologies J-BERT M8020A
502 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #78 background imageLoading...
Page #78 background image
78 Keysight M8070A Programming Guide
3 Programming Examples
BER Example
N4903B BER Example
# region ber
private double m_N4900_BitCount = 0.0;
private double m_N4900_ErrorCount = 0.0;
public override List<string> resetBERCounter()
{
m_N4900_BitCount = 0.0;
m_N4900_ErrorCount = 0.0;
return this.startBERAcc();
}
public override List<string> setBERCounterResults()
{
this.stopBERAcc();
this.startBERAcc();
double errors = 0.0;
double bits = 0.0;
errors = double.Parse(this.Query(":PFETCH:SENS2:ECO?"));
bits = double.Parse(this.Query(":PFETCH:SENS2:BCO?"));
m_ErrorCount = m_N4900_ErrorCount + errors;
m_N4900_ErrorCount = m_ErrorCount;
m_BitCount = m_N4900_BitCount + bits;
m_N4900_BitCount = m_BitCount;
m_BER = m_ErrorCount / m_BitCount;
return this.ErrorQ();
}
public override List<string> startBERAcc()
{
return this.Send(":SENS1:GATE ON");
}
public override List<string> stopBERAcc()
{
return this.Send(":SENS1:GATE OFF");
}
public override double getInstantaneousBER()
{
return double.Parse(this.Query(":FETC:SENS2:ERAT?"));
}
# endregion

Table of Contents

Other manuals for Keysight Technologies J-BERT M8020A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies J-BERT M8020A and is the answer not in the manual?

Keysight Technologies J-BERT M8020A Specifications

General IconGeneral
BrandKeysight Technologies
ModelJ-BERT M8020A
CategoryControl Unit
LanguageEnglish

Related product manuals