|
发表于 2009-12-7 23:48:32
|
显示全部楼层
eyeDiagram
eyeDiagram ( o_waveform n_start n_stop n_period ?advOptions t_advOptions )
=> o_waveform/nil
Description
Returns an eye-diagram plot of the input waveform signal. It returns the waveform object of the eye-diagram plot. Using an advanced option, the function also calculates the maximum vertical and horizontal opening of the eye formed when the input waveform is folded by the specified period to form the eye.
Arguments
o_waveform Input waveform signal.
n_start The X-axis start value from where the eye-diagram plot is to begin.
n_stop The X-axis stop value where the eye-diagram plot is to terminate.
n_period The period after which the waveform is to be folded to form the eye.
t_advOptions The option to specify whether the vertical or horizontal opening of the eye is to be calculated.
Valid values: vertical, horizontal
Default value: nil
Note: If t_advOptions is specified, the function approximates vertical eye height and horizontal eye width to assume the symmetry of the eye. The function returns the most optimum results for single eye scenarios.
Value Returned
o_waveform Returns a waveform object representing the eye-diagram plot of the input waveform
nil Returns nil and an error message otherwise
Example
eyeDiagram( v("/out" ) 0n 500n 12.5n )
Returns a waveform that represents an eye-diagram plot.
eyeDiagram( v("/out" ) 0n 500n 12.5n ?advOptions "vertical" )
Calculates the maximum vertical opening of the eye that is formed when the input waveform is folded after 12.5n
eyeDiagram( v("/out" ) 0n 500n 12.5n ?advOptions "horizontal" )
Calculates the maximum horizontal opening of the eye that is formed when the input waveform is folded after 12.5n |
|