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 />

FlagsBool8(1) = Flags AND &HFF 'AND 1st 8 bits of "Flags" & 11111111<br />

FlagsBool8(2) = (Flags >> 8) AND &HFF 'AND 2nd 8 bits of "Flags" & 11111111<br />

FlagsBool8(3) = (Flags >> 16) AND &HFF 'AND 3rd 8 bits of "Flags" & 11111111<br />

FlagsBool8(4) = (Flags >> 24) AND &HFF 'AND 4th 8 bits of "Flags" & 11111111<br />

CallTable(Bool8Data)<br />

NextScan<br />

EndProg<br />

7.8.12 Faster Measurement Rates<br />

Certain data acquisition applications require the <strong>CR1000</strong> to make analog<br />

measurements at rates faster than once per second (> 1 Hz (p. 456) ). The <strong>CR1000</strong><br />

can make continuous measurements at rates up to 100 Hz, and bursts (p. 448) of<br />

measurements at rates up to 2000 Hz. Following is a discussion of fast<br />

measurement programming techniques in association with VoltSE(), single-ended<br />

analog voltage measurement instruction. Techniques discussed can also be used<br />

with the following instructions:<br />

VoltSE()<br />

VoltDiff()<br />

TCDiff()<br />

TCSE()<br />

BrFull()<br />

BrFull6W()<br />

BrHalf()<br />

BrHalf3W()<br />

BrHalf4W()<br />

The table Summary of Analog Voltage Measurement Rates (p. 232), summarizes the<br />

programming techniques used to make three classes of fast measurement: 100-Hz<br />

maximum-rate, 600-Hz maximum-ate, and 2000-Hz maximum-rate. 100-Hz<br />

measurements can have a 100% duty cycle (p. 453). That is, measurements are not<br />

normally suspended to allow processing to catch up. Suspended measurements<br />

equate to lost measurement opportunities and may not be desirable. 600-Hz and<br />

2000-Hz measurements (measurements exceeding 100 Hz) have duty cycles less<br />

than 100%.<br />

231

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

Saved successfully!

Ooh no, something went wrong!