Using BBCheck

BBCheck checks your data files for integrity and quality.  It does some simple error and problem checking.  You should use BBCheck on your data files before you erase the original data files on your recorder.

BBCheck performs the following tests.

•	Valid checksum

•	Sequential ADCP ensemble number

•	Built in test code (BIT) is zero

•	Configuration byte remains constant

•	All data types identified

To check a file for errors, do the following.

1.	Enter the name and path of the BroadBand ADCP raw data in the BB Input File Name box or use the browse button to locate the file.  BBCheck "remembers" the input and output directory if the Browse button "..." is selected.

2.	Enter the name and path of the log file in the Log File Name box or use the browse button to locate the file.  BBCheck will create the log file if it does not exist.

3.	Enter the Start Ensemble Number.

4.	Enter the End Ensemble Number.

5.	Press the Check button to begin.

6.	Press the View Log button to view detailed information about the file and the data ID numbers detected by BBCheck.

7.	Press the Exit button to exit BBCheck.

You can run BBCheck in the batch mode by writing a simple DOS *.bat file that contains command lines with the files that you want to check.  For each file to be checked, add a line to the batch file specifying the name of the raw data file to be checked, the name of the output log file, and the starting and ending ensemble numbers.  For unattended operation, make sure that the output log file does not exist; otherwise the batch file will pause to confirm overwriting the file.

Sample Batch file

start /w "C:\Program Files\RD Instruments\Utilities\BBCheck.exe" -in:InputFile  -out:OutputLogFile -start:StartEns -end:EndEns