Technical data
How to Handle Run Errors
Errors in Error Location Capture are handled differently than standard instrument
errors:
• Errors caused by starting or stopping Error Location Capture are put in the
standard error queue.
• Internal run errors caused during Error Location Capture are neither put into
the standard error queue nor reported by the status register's error flag. In such
a case, the response to SENS:ELOC:VERB? is ELOC__FAILED.
Using Error Location Capture - Procedures
There is a slight delay (~400ms) after error location capture is triggered before the
measurement actually starts. There are two ways to handle this:
• For simplicity, just wait in your program 400ms before continuing.
• For precision, monitor the error location status bit until it registers that error
location has started.
The following code examples show how to set the registers and then run Error
Location Capture.
N O T E
See the online Help or the User's Guide for a list of requirements that have to be
met to perform Error Location Capture measurements.
Running ELOC in IVI-COM
The following subroutines show you how you can prepare the registers and then
run error location.
' The following variables are required in the code.
' Note that myBERT is a Serial BERT object that has already been
' created and initialized, for example through
' myBERT.Initialize "GPIB2::11::INSTR", True, False, ""
Private myED As IAgilentN490xED
Private myEDDataIn As IAgilentN490xEDDataIn
Private myPG As IAgilentN490xPG
Private myPGDataOut As IAgilentN490xPGOutput
Private myELOC As IAgilentN490xEDErrorLocation
Private myStatus As IAgilentN490xStatus
Private myELOC_CountedErrors As Integer
Private myELOC_FirstBitError As Long
3 Recommended Programming Techniques
46 Agilent J-BERT N4903B High-Performance Serial BERT
Defining the Required Variables