BAM 1020-9800 Manual Rev W.docx
Page 86
File 5:
Display Date / Time:
This file command will show the date and time of the BAM 1020 real-time clock.
File 6:
CSV Type Report:
The CSV data menu is commonly used for BAM data retrieval through terminal programs.
The 6 command will respond with the sub-commands shown below. The data values in each
file are separated by commas. This allows the text file to be opened directly by spreadsheets.
This is the recommended data retrieval method. Be sure to capture text when downloading
large files if using HyperTerminal. The CSV reports are also often used when BAM data is
downloaded by an external digital data logger. Following is a list of the sub-files available in
CSV format. Sub files 5, 6, 7, and 8 are flow diagnostics files and are rarely used.
2
– Display All Data
(All data records in the BAM)
3
– Display New Data
(Data records since last download)
4
– Display Last Data
(Previous hour’s data only)
5
– Display All Flow Stats
(All flow stats files)
6
– Display New Flow Stats
(Flow stats since last download)
7
– Display All 5 Min Flow
(5 minute averages of all flow stats)
8
– Display New 5-Min Flow
(5 min averages of flow stats since last download)
9
– Display Error Log
(Error/alarm log showing sub-categories)
Example of a CSV report of the "LAST DATA" record (File 6 sub-file 4):
The following example shows a typical CSV download of the file 6,4 last data record from the
BAM 1020, such as might be retrieved by an external digital data logger on an hourly basis.
This file download does not reset the data pointer.
1. A series of three carriage returns is sent to the BAM through the serial port. The BAM
responds with a single asterisk (*) indicating that communication is established.
2. An ASCII character "6" is sent to the BAM requesting the file 6 CSV menu. The BAM
responds with the CSV menu options as shown below, ending with ">".
3. An ASCII character "4" is sent to the BAM, requesting file 4 "Display Last Data". The
BAM responds with the Station ID number, then the header info, then the data record.
The data includes date/time stamp, concentration for the last hour (CONC), Flow volume for
last hour (Qtot), then all six individual met sensor channels. The labels for these channels will
vary, but will always appear in the data array regardless if used or not. In this example the six
channels start with "WS" and end with "AT". At the end of the array are twelve error bits, each
representing a different possible error. "0" indicates no error of that type, and "1" indicates an
error.
* 6
CSV Type Reports
2 - Display All Data
3 - Display New Data
4 - Display Last Data
5 - Display All Flow Stats
6 - Display New Flow Stats
7 - Display All 5-Min Flow
8 - Display New 5-Min Flow
>4 - Display CSV Data
Station, 5
Time,Conc(mg/m3),Qtot(m3),WS(MPS),WD(DEG),BP(mm),RH(%),Delta(C),AT(C),E,U,M,I,L,R,N,F,P,D,C,T
01/30/08 16:00, 0.084, 0.834, 0.0,0,0,30,57.0,27.1,0,0,1,0,0,0,0,0,0,0,0,1,
Example of CSV last data report