## General

Here the general parameters for exporting data can be set.

## Outputfile

### Inputfield Filename

Here you can enter a template for the filename of the exported data. Any number of variables can be inserted by using curly-braces; i.e. {0} insert the variable 0 in the string during export. All replacement variables listed later are supported.

### Checkbox Overwrite

If the export files already exists and the checkbox is selected, the existing file is automatically overwritten. If the checkbox is not selected, a warning message is shown.

### Button Search

Clicking the search buttons opens a directoy selection dialog, in which the user can select the directory for the exported files.

## Headline

This Headline is printed above the diagram area in JPG- and PDF-Export. The same replacement parameters as for the filename fields are supported.

## Comment

This comment is printed below the diagram area in the exported PDF-document. The same replacement parameters as for the filename fields are supported. The comment is printed with a fixed-sized font, so simple formatting can be used.

## Decimal separator

Usually the decimal separator is selected based on the operation system settings. For the export in S-parameter format, the decimal separator used can be selected here.

## Marker data

If "print in diagram" is selected, the marker data is printed inside the diagram area.

If "right aligned" is selected, the marker data is printed on the right hand side of the diagram. Else it is printed on the left hand side of the diagram.

## Marker size

The marker size is the size of the little triangle marking the marker position in the diagram

The font size is the text of the printed marker data inside the diagram

## Size of exported diagram

This specifies the diagram sie in pixels. The export quality is directly dependent of these parameters.

## Legends

If "Main-legend" is selected, the value of the input field "Main-Legend" is printed on top of an exported PDF-document

If "Sub-legend" is selected, an explanation of the scales used in the diagram is printed above the diagram

If "Footer" is selected, a shot description of the used scales is printed below the diagram

## Supported variables

These variables are supported:

{0} | The current date/time is inserted here. Further formatting of date/time is described in next chapter.
{1} | The currently selected scan mode of the analyzer.
{2} | The shortname of the selected analyzer.
{3} | The longname of the selected analyzer.
{4} | Start frequency of scan. Thousand separators are displayed.
{5} | Stop frequency of scan. No separators are displayed.
{6} | Start frequency of scan. Thousand separators are displayed.
{7} | Stop frequency of scan. No separators are displayed.
{8} | Number of samples used for this scan.
{9} | The number of scans used to generate data (not supported yet).
{10} | The number of samples in the calibration dataset.
{11} | The number of scans used to generate the calibration dataset.
{12} | Name if the calibration dataset.
{13} | The name of the currently logged on user in the operation.
{14} | The diagram title as entered on the export settings dialog.

## Date formatting

Letter | Date or Time Component | Presentation | Examples
--- | --- | --- | ---
`G` | Era designator | Text | `AD`
`y` | Year | Year | `1996` ; `96`
`M` | Month in year | Month | `July` ; `Jul` ; `07`
`w` | Week in year | Number | `27`
`W` | Week in month | Number | `2`
`D` | Day in year | Number | `189`
`d` | Day in month | Number | `10`
`F` | Day of week in month | Number | `2`
`E` | Day in week | Text | `Tuesday` ; `Tue`
`a` | Am/pm marker / | Text | `PM`
H | Hour in day (0-23) | Number | 0
`k` | Hour in day (1-24) | Number | `24`
`K` | Hour in am/pm (0-11) | Number | `0`
`h` | Hour in am/pm (1-12) | Number | `12`
`m` | Minute in hour | Number | `30`
`s` | Second in minute | Number | `55`
`S` | Millisecond | Number | `978`
`z` | Time zone | General time zone | `Pacific Standard Time` ; `PST` ; `GMT-08:00`
`Z` | Time zone | RFC 822 time zone | `-0800`

When calling the export function, the current timestamp is provided in parameter {0}. Here are some formatting examples for this timestamp 2010-02-15 17:12:45:

VNA_{0,date,yyMMdd} --> VNA_100215.xls

VNA_{0,time,HHmmss} --> VNA_171245.xls

VNA_{0,date,yyMMdd}_{0,time,HHmmss} --> VNA_100215_171245.xls