Appendix E Sequence Examples
E-12
E.5.2 Eye Margin measurement execution example
This section describes an example procedure for Eye Margin.
Table E.5.2-1 Eye Margin measurement setting example
Remote Commands Explanation of Commands
:
UENT:ID 1
:SYST:CFUN OFF
:SYST:CFUN EMAR32
:SENS:MEAS:EMAR:MARG:SLOT
USB11,1,ON
:SENS:MEAS:EMAR:MARG:ASE ON,1
:SENS:MEAS:EMAR:MARG:RES COAR
:SENS:MEAS:EMAR:MARG:THR E_8
:SENS:MEAS:STAR
:SENS:MEAS:EMAR:STAT?
:SENS:MEAS:EMAR:STAT?
:SENS:MEAS:STOP
:CALC:DATA:EMAR?
USB11,1,"THR"
:CALC:DATA:EMAR?
USB11,1,"PHAS"
:SYST:MMEM:MARG:STOR
"C:\Test\emexample",CSV
:SYST:MMEM:MARG:STOR
"C:\Test\emexample",BIN
:SYST:CFUN OFF
Sets the remote command destination to
MP1800A.
Closes the Automatic Measurement screen
currently open.
Opens the Eye Margin measurement screen.
Sets the measurement target to USB11 (DEMUX).
Executes Auto Search Coarse when measurement
starts.
Sets the measurement accuracy to Coarse.
Sets the measured BER value to 1Eā8.
Starts Eye Margin measurement.
Determines that Eye Margin measurement has
started. A return value of "1" indicates that
measurement has started.*
1
Determines that Eye Margin measurement has
ended. A return value of "0" indicates that
measurement has ended, and a value of "ā1"
indicates that measurement failed
.
*
1
Stops Eye Margin measurement.
Returns the Eye Margin (Threshold) results.
Returns the Eye Margin (Phase) results.
Saves the measurement results in CSV format to
a specified folder.*
2
Saves the measurement results in BIN format to a
specified folder.*
2
,
*
3
Closes the Eye Margin measurement screen.
*1: Use processing corresponding to C language "for" and "While"
statements for this processing to send queries until the expected
value is detected. Set the sending interval between queries to at
least 200 ms to avoid overloading the instrument used for the
measurement processing. Execute the next command after the
expected value has been detected.
*2: If no directory exists for saving measurement results ("C:\Test" in
this example), one must be created beforehand by the user. Saving
using the same file name ("example" in this example) will overwrite