EasyManua.ls Logo

Keysight Technologies J-BERT M8020A - Page 81

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
Loading...
Keysight M8070A Programming Guide 81
Programming Examples 3
resultStr = this.Query(":FETC:BCO? " + m_ED_channel);
// timestamp
index = resultStr.IndexOf(",");
valStr = resultStr.Substring(1, index - 1);
timeStamp = double.Parse(valStr);
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
// identifier
index = resultStr.IndexOf(",");
valStr = resultStr.Substring(0, index);
identifier = valStr;
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
// counted 1s
index = resultStr.IndexOf(",");
valStr = resultStr.Substring(0, index);
counted1s = double.Parse(valStr);
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
// counted 0s
index = resultStr.IndexOf(",");
valStr = resultStr.Substring(0, index - 1);
counted0s = double.Parse(valStr);
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
// erroneous 1s
index = resultStr.IndexOf(",");
valStr = resultStr.Substring(0, index - 1);
erroneous1s = double.Parse(valStr);
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
// erroneous 0s
index = resultStr.IndexOf(")");
valStr = resultStr.Substring(0, index - 1);
erroneous0s = double.Parse(valStr);
resultStr = resultStr.Substring(index + 1, resultStr.Length - index - 1);
bitCount = counted0s + counted1s;
//bitCount -= m_prevBitCount;
errorCount = erroneous0s + erroneous1s;
//errorCount -= m_prevErrorCount;
bitCounter.Add(bitCount);
bitCounter.Add(errorCount);
bitCounter.Add(timeStamp);
return bitCounter;
}
# endregion

Table of Contents

Other manuals for Keysight Technologies J-BERT M8020A

Related product manuals