
Appendix A. CRBasic Programming Instructions
489
A.5.7.1 Control
PortSet
Setsthespecifiedporthighorlow.
Syntax
PortSet(Port, State)
PulsePort
Togglesthestateofacontrolport,delaysthespecifiedamountoftime,toggles
theport,anddelaysasecondtime.
Syntax
PulsePort(Port, Delay)
WriteIO
WriteIOisusedtosetthestatusofselectedcontrolI/Ochannels(ports)onthe
CR3000.
Syntax
WriteIO(Mask, Source)
A.5.7.2 Measurement
PWM
Performsapulse‐widthmodulationonacontrolI/Oport.
Syntax
PWM(Source,Port,Period,Units)
TimerIO
MeasuresintervalorfrequencyonadigitalI/Oport.
Syntax
TimerIO(Dest, Edges, Function, Timeout, Units)
A.5.8 SDI-12
Read More! See SDI-12 Sensor Support (p. 177).
SDI12Recorder
RetrievestheresultsfromanSDI‐12sensor.
Syntax
SDI12Recorder(Dest, SDIPort, SDIAddress, SDICommand,
Multiplier, Offset)
SDI12SensorSetup
SetsupthedataloggertoactasanSDI‐12sensor
SDI12SensorResponse
HoldsthesourceofthedatatosendtotheSDI‐12recorder.
Syntax
SDI12SensorSetup(Repetitions, SDIPort, SDIAddress,
ResponseTime)
SDI12SensorResponse(SDI12Source)
Comentarios a estos manuales