Appendix C. Example CRBasic programs
C-3
'Extract the checksum from the message & convert it for comparison
lngCRCMsg = HexToDec(checksumrx)
ChecksumOK = ( lngCRCMsg = lngCRCCalc)
'In critical applications the visibility can be set to NaN if the system status
'is degraded or a critical error flag is set.
If ChecksumOK Then Visibility = Visibilitystr Else Visibility =NaN
EndIf
'Call data storage commands here
NextScan
EndProg
Содержание CS120A
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 8: ......
Страница 23: ...User Guide 13...
Страница 24: ...CS120A Visibility Sensor 14...
Страница 25: ...User Guide 15...
Страница 50: ...CS120A Visibility Sensor A 2...
Страница 52: ...CS120A Visibility Sensor B 2...