4 digital i/o, 5 sdi-12 – Campbell Scientific CR200/CR200X-series Dataloggers User Manual
Page 111

Section 10. CRBASIC Programming Instructions
PulseCount
Measures number or frequency of voltages pulses on a pulse channel.
Syntax
PulseCount (Dest, PChan, PConfig, POption, Mult,
Offset)
10.5.4 Digital I/O
AnalogPortGet
Configures an analog port as a digital input and stores the status of the input in a
variable.
Syntax
AnalogPortGet (Dest, Port)
AnalogPortSet
Configures an analog port as a digital output and sets the port either high or low.
Syntax
AnalogPortSet (Port, State)
PeriodAvg
Measures the period of a signal on any single-ended voltage input channel.
Syntax
PeriodAvg (Dest, SEChan, PAOption, Cycles,
Timeout, Port, Mult, Offset)
PortGet
Reads the status of a control port.
Syntax
PortGet (Dest, Port)
PortSet
Sets the specified port high or low.
Syntax
PortSet (Port, State)
10.5.5 SDI-12
Read More! See
SDI-12 Sensor Support
(p. 112).
SDI12Recorder
The SDI12Recorder instruction is used to retrieve the results from an SDI-12
sensor.
Syntax
SDI12Recorder (Dest, Outstring, Multiplier,
Offset)
SDI12SensorSetup
Sets up the datalogger to act as an SDI12 sensor. Used together with
SDI12SensorResponse.
99