10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Control Language<br />

Library of Functions for Tasks<br />

xval<br />

Task function category: Functions Operating on Waveforms<br />

Returns in a vector all the X values at the given Y level of the waveform wf. If the slope is<br />

supplied, the result will be collected only when the waveform has the specified slope.<br />

Interpolation is applied.<br />

Usage<br />

xval(wf, at_y)<br />

xval(wf, at_y, slope)<br />

xval(wf, at_y, x_start, x_end)<br />

xval(wf, at_y, slope, x_start, x_end)<br />

Arguments<br />

• wf<br />

Waveform identifier.<br />

• at_y<br />

Y level in waveform.<br />

• slope<br />

Slope. Valid values are: pos, neg, or either.<br />

• x_start<br />

Waveform start point.<br />

• x_end<br />

Waveform end point.<br />

Description<br />

Does not support complex waveforms (but it is possible to call it separately on the real part and<br />

the complex part or on the magnitude and phase of a complex waveform).<br />

Examples<br />

set i = 0<br />

set xres = xval(w1, 10.5)<br />

fprint(stdout, "X values where w1 is 10.5 are:")<br />

for(i=xres.imin; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!