04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

SHOW MORE
SHOW LESS

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

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

Section 7. Installation<br />

Table 20. Logical Expression Examples<br />

If X >= 5 AND Z = 2 then Y = 0<br />

Sets Y = 0 only if both X >= 5 and Z = 2 are true.<br />

If 6 then Y = 0.<br />

If 6 is true since 6 (a non-zero number) is returned, so Y is set to 0 every time the statement is executed.<br />

If 0 then Y = 0.<br />

If 0 is false since 0 is returned, so Y will never be set to 0 by this statement.<br />

Z = (X > Y).<br />

Z equals -1 if X > Y, or Z will equal 0 if X

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

Saved successfully!

Ooh no, something went wrong!