A.5.7.2 measurement, A.5.8 sdi-12, A.5.9 specific sensors – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 487

Appendix A. CRBasic Programming Instructions
487
A.5.7.2 Measurement
PWM
Performs a pulse‐width modulation on a control I/O port.
Syntax
PWM(Source,Port,Period,Units)
TimerIO
Measures interval or frequency on a digital I/O port.
Syntax
TimerIO(Dest, Edges, Function, Timeout, Units)
A.5.8 SDI-12
Read More! See SDI-12 Sensor Support
(p. 172).
SDI12Recorder
Retrieves the results from an SDI‐12 sensor.
Syntax
SDI12Recorder(Dest, SDIPort, SDIAddress, SDICommand,
Multiplier, Offset)
SDI12SensorSetup
Sets up the datalogger to act as an SDI‐12 sensor
SDI12SensorResponse
Holds the source of the data to send to the SDI‐12 recorder.
Syntax
SDI12SensorSetup(Repetitions, SDIPort, SDIAddress,
ResponseTime)
SDI12SensorResponse(SDI12Source)
A.5.9 Specific Sensors
ACPower
Measures real ac power and power‐quality parameters for single‐, split‐, and
three‐phase 'Y' configurations.
Syntax
ACPower(DestAC, ConfigAC, LineFrq, ChanV, VMult, MaxVrms,
ChanI, IMult, MaxIrms, Reps)
DANGER ac power can kill. User is responsible for ensuring connections to ac
power mains conforms to applicable electrical codes. Contact a Campbell
Scientific applications engineer for information on available isolation
transformers.
CS110
Measures electric field by means of a CS110 electric‐field meter.
Syntax
CS110(Dest, Leakage, Status, Integ, Mult, Offset)