...
Installation and Quick Usage
If using Linux just follow the instructions at Software Installation and AlogParse , AlogParse will be built with the other Hovergroup appsutil applications. If using windows, you can download a pre-built executable compile AlogParse independently by downloading its source files from here: alogParse.exeAlogParse SVN. It has no external dependencies so simply download the header and source file and use nmake to build.
To You can download the executable wherever, but for the purpose of this example I'm going to create a folder called "alogParse" in my documents folder and put the executable there. To use alogParse follow these instructions:
...
2) Navigate to the directory where you saved alogParse
Code Block |
---|
cd Documents\alogParse
|
3) Run alogParse
Code Block |
---|
alogParse.exe --help
|
--help should tell you everything you need to know to use alogParse, though there are some more detailed notes below. It's easiest to pass an alog file to alogParse if you first copy the logfile to the same directory. Then you can run alogParse using a command such as:
Code Block |
---|
alogParse.exe mylog.alog --sync_period=0.2 NAV_X NAV_Y
|
...
For this reason there is the "--backsearch" option, which forces alogParse to look at only variable posting in the past when filling a line. You can even specify "--backsearch=0.5", which will allow alogParse to look up to 0.5 seconds in the future for closer variable postings. Backsearch, especially pure backsearch, can be much faster than the default mode. Regardless of the mode, alogParse always outputs and "age" along with every variable to tell you how far away that variable value was picked from. A negative age would indicate that variable came from the future.
The last capability of note is that of specifying the delimiter. The default delimiter is a comma, but if one of your variables is expected to contain commas then you can specify a different delimiter with the "--delimiter" flag.
AcommsParse
AcommsParse, as the name implies, is specifically for parsing acomms transmission and reception messages. It provides one line for each reception or transmission, splitting all the available information into separate columns.
Usage
AcommsParse has the same usage as AlogParse, except instead of defining a sync_variable or sync_period, you tell it to look for acomms receptions or acomms transmissions using the --receive and --transmit flags. In addition to the acomms information, any additional variables requested will be synced to the acomms receptions/transmissions. The backsearch option can be used in the same way as it is for alogParse.