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

5. To simulate conditions for a 30-day, service-calibration, again with desiccated<br />

chamber conditions, set variable KnownRH to 0.0. Change the value in<br />

variable CalMode to 1 to start calibration. When CalMode increments to 6,<br />

simulated 30-day, service zero calibration is complete. Calibrated Offset will<br />

equal -52.5%.<br />

CRBasic Example 26.<br />

FieldCal() Zeroing Demonstration Program<br />

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

Public mV<br />

Public KnownRH<br />

Public CalMode<br />

Public Multiplier<br />

Public Offset<br />

Public RH<br />

'Excitation mV Output<br />

'Known Relative Humidity<br />

'Calibration Trigger<br />

'Multiplier (Starts at .05 mg / liter / mV,<br />

'does not change)<br />

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

'Measured Relative Humidity<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 = .05<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,mV,0)<br />

'Make the calibrated measurement<br />

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

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

FieldCal(0,RH,1,Multiplier,Offset,CalMode,KnownRH,1,30)<br />

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

CallTable(CalHist)<br />

NextScan<br />

EndProg<br />

7.8.1.5.2 Offset (Option 1)<br />

Case: A sensor measures the salinity of water. Multiplier is known to be stable,<br />

but sensor offset drifts and requires regular offset correction using a standard<br />

solution. The following procedure offsets the measurement to obtain the<br />

calibration report shown.<br />

155

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

Saved successfully!

Ooh no, something went wrong!