EasyManuals Logo

Campbell LoggerNet User Manual

Default Icon
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #517 background imageLoading...
Page #517 background image
Appendix B. Campbell Scientific File Formats
B.4.5 TOB32.EXE
The TOB32.EXE command line utility is installed by default in the LoggerNet
program directory at C:\Program Files\Campbellsci\Loggernet\tob32.exe. The
output is similar to CardConvert. Command line switches are used to
determine the new file format that will be created. Some of the basic switches
available are listed below:
-h or -? | Help
-a | ASCII (TOA5) Generates CSI Table Oriented ASCII version 5
format files
-b | Binary (TOB1) Generates CSI Table Oriented Binary version 1
format files
Some examples using these switches include:
tob32.exe -a mydata.dat (converts mydata.dat to TOA5 format)
tob32.exe -b mydata.dat (converts mydata.dat to TOB1 format)
B.5 RTMS Format Description
The EBNF description of RTMS syntax is as follows:
Record = ( DataRecord | AckRecord ) CRLF.
DataRecord = StationName "," TableName " (" FieldSpecs ") VALUES (" FieldValues ")".
AckRecord = StationName "," TableName "," RecordNumber.
FieldSpecs = FieldName " " FieldType {"," FieldName " " FieldType}.
FieldValues = FieldValue {"," FieldValue}.
StationName = Label.
TableName = Label.
FieldName = Label.
Label = Letter { Letter | Digit }.
FieldType = ( "TIMESTAMP" | Decimal | "FLOAT" | "INTEGER" | VarChar ).
Decimal = "DECIMAL(" Digit [ Digit ] "," Digit [ Digit ] ")".
VarChar = "VARCHAR(" Digit { Digit } ")".
FieldValue = ( TimeStamp | RecordNumber | Number | String ).
TimeStamp = "‘" Year "-" Month "-" Day " " Hour ":" Minute ":" Second "‘".
Year = 4( Digit ).
Month = 2( Digit ).
Day = 2( Digit ).
Hour = 2( Digit ).
Minute = 2( Digit ).
Second = 2( Digit ) [ "." { Digit } ].
RecordNumber = 10{ Digit }.
Number = { Digit } [ "." ] { Digit }.
String = "‘" { Character } "‘".
A typical data record might look something like this:
Lgr,Sec15 (TMSTAMP TIMESTAMP,RECNBR DECIMAL(10,0),Battery_V
FLOAT,Temp FLOAT) VALUES ('1993-12-08 15:02:00',123456,13.5,72.123)
B-23

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell LoggerNet and is the answer not in the manual?

Campbell LoggerNet Specifications

General IconGeneral
BrandCampbell
ModelLoggerNet
CategorySoftware
LanguageEnglish