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

4. When variable CalMode increments to 6, the deployment calibration is<br />

complete. Calibrated multiplier is -0.08. Calibrated offset is 53.978.<br />

5. To continue this example, simulate a two-stage, 7-day service calibration<br />

wherein both multiplier and offset drift (output @ 30 l/s = 285 mV, output @<br />

10 l/s = 522 mV).<br />

a. Set variable SignalmV to 285. Set variable KnownFlow to 30.0.<br />

b. Start the 7-day, service calibration by setting variable CalMode = 1.<br />

c. When CalMode increments to 3, set variable SignalmV to 522. Set<br />

variable KnownFlow to 10.<br />

d. Resume the 7-day service calibration by setting variable CalMode = 4<br />

6. When variable CalMode increments to 6, the 7-day, service calibration is<br />

complete. Calibrated multiplier is -0.0842. Calibrated offset is 53.896.<br />

CRBasic Example 29.<br />

FieldCal() Multiplier and Offset Demonstration Program<br />

'Jumper VX1/EX1 to SE6(3L) to simulate a sensor<br />

Public SignalmV<br />

Public KnownFlow<br />

Public CalMode<br />

Public Multiplier<br />

Public Offset<br />

Public WaterFlow<br />

'Excitation mV output<br />

'Known water flow<br />

'Calibration trigger<br />

'Sensitivity<br />

'Offset (starts at zero, not changed)<br />

'Water flow<br />

'Data Storage Output of Calibration Data ─ stored whenever a calibration occurs<br />

DataTable(CalHist,NewFieldCal,200)<br />

SampleFieldCal<br />

EndTable<br />

BeginProg<br />

Multiplier = 1<br />

Offset = 0<br />

LoadFieldCal(true)<br />

'Load the CAL File, if possible<br />

Scan(100,mSec,0,0)<br />

'Simulate measurement by exciting channel VX1/EX1<br />

ExciteV(Vx1,SignalmV,0)<br />

'Make the calibrated measurement<br />

VoltSE(WaterFlow,1,mV2500,6,1,0,250,Multiplier,Offset)<br />

'Perform a calibration if CalMode = 1<br />

FieldCal(2,WaterFlow,1,Multiplier,Offset,CalMode,KnownFlow,1,30)<br />

'If there was a calibration, store it into a data table<br />

CallTable(CalHist)<br />

NextScan<br />

EndProg<br />

160

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

Saved successfully!

Ooh no, something went wrong!