beautypg.com

Datalogger crbasic programming, 1 extended data output (.flla) command, Extended data output (.flla) command – Campbell Scientific CS725 Snow Water Equivalency Sensor User Manual

Page 41: 4. cs725 with top cap removed

background image

CS725 Snow Water Equivalency Sensor

FIGURE 14-4. CS725 with top cap removed

15. Datalogger CRBasic Programming

15.1 Extended Data Output (.flla) Command

The following program example reads the data values from the CS725 using
the command [.flla].

This program obtains information in addition to reported SWE values such as
radiation counts and other diagnostic information.

'CR1000 Series Datalogger
'Program for CS725 Sensor


'Wiring CS725
'Red - +12VDC

'Black and Clear- G - Ground
'Green RS-232 TX - C2
'White RS-232 RX - C1

'Clear Shield- G – Ground

'Declare Public Variables and alias

Public PTemp As Float,batt_volt As Float
Public Read_CS725_SWE_Flag As Boolean
Public CS725SerialIn As String * 120

Public CS725_COMMAND_String As String * 20
Public CS725_TIME_String As String * 17
Public CS725_Date_Time(5) As Float

33