The Data Export dialog allows you to export GSEOS data to a flat ASCII file. You can configure multiple items to be written to the output file. The following figure shows the Data Export dialog.
You can display the Data Export dialog from the main menu: Tools\DataExport.
The items to be exported can be added with the 'Add Item...' button and are displayed on the left hand side of the dialog. Items can be scalar or array items of any dimension. Conversion functions can also be selected to be exported. If you want to select Conversion functions please make sure the proper conversions are loaded.
You can group export items which means they are displayed on the same line (except when the line wraps around). This makes for a more compact export.
Enabled
The enabled check box determines if the data export tool is active or inactive. If the Enabled checkbox is not checked not data is written to the output file.
File Header
In order to associate the data with the item that are being output you can check the 'Header' checkbox. This will write a file header every time the export file gets changed or the export settings are modified. Clicking the 'Write Header...' button will also write a header to the file. See below for a sample of the file header:
## GSEOS Data Export
## =================
##
## The following items are exported with the corresponding line numbers:
## Line #0: TLM.Len
## TLM.PacketId
##
## Line #1: Clock.DayOfYear
##
## Line #2: CLTU_IGSE_RX.Len
##
## Line #3: CMDSTRING.abyData[0:511]
##
## Line #4: ConsoleOut.Len
##
The header displays the output line number assignment. If the 'Line Numbers' check box is checked the data it prefixed with the line number per output line like in the following example:
#0: 0, 0
#0: 0, 0
#4: 4
#0: 0, 0
#0: 0, 0
#4: 4
Line Numbers
You can also choose not to have the line numbers printed by unchecking the 'Line Numbers' check box.
Insert Blank Line
For easier import into Excel you can uncheck the 'Blank Line' checkbox. If this check box is checked a blank line will be inserted after every output line.
Items Per Row
To restrict the line length the 'Items Per Row' setting allows you to select any number of elements per line. An output line as indicated by the file header might be printed on multiple physical lines depending on the 'Items Per Row' setting.
New Group
If the New Group check box is checked a new export group is started. An export group arranges the items on a line until the maximum line length is reached and then wraps the line. Depending on the setting of 'Items Per Row' the number of physical lines may be more than one per output line. However, each trigger set in a group will trigger the entire group.
Trigger
The trigger setting allows you to control when each output line is printed. Each time a block arrives the trigger counter is decremented, if it reaches zero the output line is printed. There can be multiple triggers per output line. If you don't have any triggers set (the trigger count is 0) the line will not be printed.
Format
Currently there are two output formats: Decimal and Hexadecimal. When decimal is selected the necessary number of digits is displayed. In case of conversion functions a floating point value is printed. If Hex is selected conversion function results will be clipped to integer and displayed as 32-bit hex values. For regular items the number of digits is determined by the size of the item.
Order of Export Items
You can change the order of the export items by holding down the Ctrl key and dragging the item row number(s) you want to move to a different location. The following picture shows the row numbers to drag.