A.5.7.1 control, A.5.7.2 measurement, A.5.8 sdi-12 – Campbell Scientific CR3000 Micrologger User Manual
Page 489

Appendix A. CRBasic Programming Instructions
489
A.5.7.1 Control
PortSet
Sets the specified port high or low.
Syntax
PortSet(Port, State)
PulsePort
Toggles the state of a control port, delays the specified amount of time, toggles
the port, and delays a second time.
Syntax
PulsePort(Port, Delay)
WriteIO
WriteIO is used to set the status of selected control I/O channels (ports) on the
CR3000.
Syntax
WriteIO(Mask, Source)
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. 177).
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)