SurfaceVue10 CRBasic Program Readme

Constants:
There are three constants that can be edited before sending the SurfaceVue10 program to the datalogger. 
•	ScanInterval – This changes the scan interval of the main program. Time in seconds. Default is 30 seconds.
•	SurfaceVue_RS232 - Sets the communication protocol the datalogger will use to retrieve data, calibrate, and set configuration parameters. The sensor has native RS-232 communications. RS-485 is used when the RS485EXT is used. Set to true for RS-232 and false for RS-485. Default is true for RS-232. 
•	SurfaceVue_Port – Sets the com port the sensor is wired to on the datalogger. Options are ComC5, ComC7, COMRS232, 32 to 47 (SDM device addresses). 

Subroutines:
There are subroutines included in the program to make interacting and collecting data from the sensor simple. The user should have permissions and know how to edit variables in the public table of the datalogger. 
•	SurfaceVueCalDry – Subroutine to initiate a dry calibration. The road or runway surface being measured should be dry when initiating this command. Set the SurfaceVueCalDry variable to a value of 1 in the public table. When the calibration is completed the SurfaceVue_Drystring variable will populate with the results of the calibration. Verify that the condition value is dry and the friction value is the expected dry value of 0.81. 
•	SurfaceVueConfRead - Subroutine to read the configuration (CONF) of the sensor. Set the SurfaceVueConfRead variable to a value of 1 in the public table. The output of the CONF string will display in the SurfaceVue_Confstring variable. 
•	SurfaceVueConfWrite - Subroutine that will allow the user to write a configuration (CONF) variable to the sensor. This should only be used when instructed by Campbell Scientific. Enter the CONF variable to be changed in the SurfaceVue_ConfigNumber variable. This is an integer number between 1 and 13. Enter the value of the configuration parameter to be changed in the SurfaceVue_ConfigValue variable. Next, set the ConfWriteFlag variable to a value of 1. The SurfaceVue_Confstring will populate with the new configuration to confirm the change. 
•	SurfaceVueRead – Subroutine to handle reading the automatic output from the sensor and parsing into variables for data output. 
