Technical data
If myELOC.ReadState = AgilentN490xEDErrorLocationStateEnum.
AgilentN490xEDErrorLocationStateSuccess Then
' Read the results
myELOC_CountedErrors = myELOC.ReadCount ' Should be 1
myELOC_FirstBitError = myELOC.BitAddress ' Location of errored bit
Else
' Any code for handling problems
End If
End Sub
Running ELOC in SCPI
The following is an example for running ELOC in SCPI with a memory based pattern
and a stimulated error.
To prepare the instrument and to verify that the instrument is ready by monitoring
the error location status bit:
1
Reset the instrument:
*RST
2
Select a memory-based pattern:
SOURce1:PATTern:SELect PRBN7
3
Align the error detector to the pulse generator:
SENSe1:EYE:ALIGN:AUTO 1
4
Clear the status registers:
*CLS
5
Set up the Operation status register so that it triggers when Error Location
Capture starts:
STATus:OPERation:NTRansition 0
STATus:OPERation:PTRansition 16384
a
Activate the error location bit (bit 14) in the Operation register:
STATus:OPERation:ENABle 16384
To run error location capture in SCPI:
1
Start error location capture:
SENSe1:ELOCation ONCE
2
Set up a loop in your program and wait until the measurement starts:
SENSe1:ELOCation:VERBose?
As soon as the measurement is running, this should return
ELOC__RUNNING
.
3 Recommended Programming Techniques
50 Agilent J-BERT N4903B High-Performance Serial BERT
Preparing the Registers (SCPI)
Starting Error Location Capture