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.

Appendix A. CRBasic Programming Instructions<br />

Round<br />

Rounds a value to a higher or lower number.<br />

Syntax<br />

variable = Round (Number, Decimal)<br />

SGN<br />

Finds the sign value of a number.<br />

Syntax<br />

x = SGN(source)<br />

Sqr<br />

Returns the square root of a number.<br />

Syntax<br />

x = SQR(number)<br />

A.6.8 Integrated Processing<br />

DewPoint<br />

Calculates dew point temperature from dry bulb and relative humidity.<br />

Syntax<br />

DewPoint(Dest, Temp, RH)<br />

PRT<br />

Calculates temperature from the resistance of an RTD. This instruction has been<br />

superseded by PRTCalc() in most applications.<br />

Syntax<br />

PRT(Dest, Reps, Source, Mult)<br />

PRTCalc<br />

Calculates temperature from the resistance of an RTD according to a range of<br />

alternative standards, including IEC.<br />

Syntax<br />

PRTCalc(Dest, Reps, Source, PRTType, Mult, Offset)<br />

SolarPosition<br />

Calculates solar position<br />

Syntax<br />

SolarPosition(Dest, Time, UTC_OFFSET, Lat_c, Lon_c, Alt_c,<br />

Pressure, AirTemp)<br />

SatVP<br />

Calculates saturation‐vapor pressure (kPa) from temperature.<br />

Syntax<br />

SatVP(Dest, Temp)<br />

StrainCalc<br />

Converts the output of a bridge‐measurement instruction to microstrain.<br />

Syntax<br />

StrainCalc(Dest, Reps, Source, BrZero, BrConfig, GF, v)<br />

499

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

Saved successfully!

Ooh no, something went wrong!