Warthog systems file formats
|
The format for standard Warthog text files (extension .WHtext) is shown in the following
example. This is the simplest format that contains most the information
that can be used by LabAnalyst.
It can be assembled in most database or spreadsheet programs, or with a
word processor. Note: the comments indicated by two asterisks
(**) are NOT part of a real file.
The format for Warthog BINARY files, created by the acquisition program LabHelper, is roughly similar, but they start with a text code value (the first value in the file). All other numeric data are encoded in 4-byte FutureBasic binary format. Current versions use a floating-point (FP) format with a text code of "-999" or (for large files) "-9999"; 64-bit versions use "-19999" (note that this FP format is not the same as the 4-byte IEEE binary floating point frequently used by DOS/Windows software). These files have the extension .whog (for multi-channel 'chart' files) or .whsc (for single-channel 'oscilloscope' files). Each text string is NOT in quotes, but it is preceded by a FP real value equal to the number of characters in the string. Commas (and other delimiters) are not used. The sample data are stored channel-by-channel, not case-by-case. Due to this complexity, for most files you might want to create yourself, using the Warthog text format or a simple text spreadsheet (see below) is considerably simpler
This icon is used to indicate binary files saved from LabAnalyst (they have identical formats to 'raw' binary files generated by LabHelper, but the different icon helps let you know if you've worked on a file previously. These files have the extension .WHdata
SSCF and ExpeData These formats are used by Sable Systems software on Windows computers. Because data must undergo translation between IEEE and Warthog formats, disk access to SSCF/ExpeData files isn't quite as fast as for Warthog binary files (but this is almost unnoticeable for all but very large files). When transfered from a Windows machine to a Mac, these files can appear with several icon types (all of these have the same internal format -- just the extension is different):
These icons will will not appear on a Windows machine. Text format (ASCII) The format for ASCII output is a simple spreadsheet with commas or tabs as column delimiters, with each row terminated with a carriage return. The first line can contain column labels.
|
go to: |