![Campbell SDMS40 Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/campbell/sdms40/sdms40_product-manual_3916973036.webp)
CRBasic Example 2: CR1000X RS-232 program to measure the SDMS40
SerialIn
(SDMS40_string,SDMS40_COMport,1000,
""
,2000)
SplitStr
(SDMS40_Depth_Avg,SDMS40_string,
"[M]"
,1,4)
SplitStr
(SDMS40_string_temp,SDMS40_string,
"[t]"
,1,4)
SplitStr
(SDMS40_Temperature(),SDMS40_string_temp,
""
,3,0)
SplitStr
(SDMS40_string_temp,SDMS40_string,
"[P]"
,1,4)
SplitStr
(SDMS40_Depth_Points(),SDMS40_string_temp,
""
,36,0)
SplitStr
(SDMS40_string_temp,SDMS40_string,
"[R]"
,1,4)
SplitStr
(SDMS40_Distance_Points(),SDMS40_string_temp,
""
,36,0)
EndIf
EndIf
CallTable
SnowDepth
NextScan
EndProg
SDMS40 Multipoint Scanning Snowfall Sensor
30