From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

eyediagram (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: plots

Requires: MathScript RT Module


eyediagram(x, Fd, Fs)

eyediagram(x, Fd, Fs, offset)

eyediagram(x, Fd, Fs, offset, Dp)

Legacy Name: eyescat


Generates a plot of an eye diagram.



Name Description
x Specifies the input signal. x can be a real or complex vector or matrix.
Fd Specifies the reciprocal of the time range of the eye diagram plot.
Fs Specifies the sampling frequency of the input signal.
offset Specifies the offset of the eye diagram in x-axis. The default offset is 0.
Dp When Dp is an integer, it specifies the decision point location. When Dp is a string, it specifies the style of the points in the eye diagram plot.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (always ignored)
Supported on RT targets No


a = [0 0 0.707107 0.707107 -0.707107 -0.707107 1 -1];
len = 1000;
index = ceil(rand(1, len)*8);
re = a(index);
im = sqrt(1-re.^2);
re = re + rand(1, len)*0.1-0.05
im = im .* (((rand(1, len) > 0.5)-0.5) * 2);
im = im + rand(1, len)*0.1-0.05;
X = re + j*im;
FD = 1;
FS = 2;
offset = 0;
DP = '+';
eyediagram(X, FD, FS, offset, DP);

Related Topics



Not Helpful