10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Control Language<br />

Library of Functions for Tasks<br />

relation<br />

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

Generates a waveform from a point-by-point relational expression.<br />

Usage<br />

relation(wf1, wf2, op)<br />

Arguments<br />

• wf1<br />

First waveform identifier.<br />

• wf2<br />

Second waveform identifier.<br />

• op<br />

Valid values for op are 1, 0, and -1 where 1 stands for “greater than”, 0 for “equals” and -1<br />

for “less than”.<br />

Return Values<br />

It returns 1 corresponding to the scalar value op:<br />

if op = 1 and wf1 > wf2,<br />

or if op = 0 and wf1 = wf2,<br />

or if op = -1 and wf1 < wf2;<br />

otherwise 0 is returned.<br />

Related Topics<br />

Library of Functions for Tasks<br />

948<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!