UdtExporter

Purpose

This command line application converts the output XPF data file into a text data file. One XML format template file provides the user defined fformatting of the output text file, see Template File Format Description.

 

Usage

UdtExporter [/version] [/remote] [/autostart {on|off}] /t template [/from time] [/to time] [/p param value [/p param value]] input output [/if <fid> <path>] [/ds <dsid> <fid>[.<label>]] [/toffset <fid>[.<label>] offset] [/utcOrigin <fid> yyyy-mm-ddThh:mm:ss]

 

Parameters

Argument

Value

Description

/version

Optional

Displays version information about this application.

/remote

Optional

Remote mode must be used when this application is embedded into an external application. Default is interactive mode.

/autostart

Optional

If autostart is on (default) the process starts immediately, if off, user must type the start command to start the process.

template

Mandatory

Template file name.

/from

Optional

Time of the first frame to be exported (s).

/to

Optional

Time of the last frame to be exported (s).

/p

Optional

Sets a value for a user defined parameter.

input

Mandatory

Input file name (XPF file).

output

Mandatory

Output file name (text file).

/if

Optional

Additional input file where <fid> is the single identifier for this file (in the form ([a-zA-Z0-9]|-|_)+) and <path> is the path to this file.

/ds

Optional

Sets the data source identified in the template file with <dsid> to the channel label <label> of the input file identified by <fid>.

/toffset

Optional

Sets a time offset in seconds for a whole file or a channel of a file.

/utcOrigin

Optional

Sets the UTC origin for a file (as yyyy-mm-ddThh:mm:ss.s).

The output file is formatted according to the popudt model, see User Defined Export Templates.

 

Example

 

In this example we use the simple INS NAV template to generate a text file consisting of

> date: Date of validity (yyyy/mm/dd)
> time: Time of validity (hh:mm:ss.ssss)
> algoStatus1: Status #1 of the algorithm
> algoStatus2: Status #2 of the algorithm
> algoStatus3: Status #3 of the algorithm
> latitude: Latitude (primary lever arm), decimal degree
> longitude: Longitude (primary lever arm), decimal degree
> altitude: Altitude (primary lever arm), meter
> heading: Heading, degree
> roll: Roll, degree
> pitch: Pitch, degree
> speedNorth: Speed in the north direction, meter/second
> speedEast: Speed in the east direction, meter/second
> speedUp: Speed in the up direction, meter/second
> heave: Heave (real-time), meter
> • surge: Surge, meter
> • sway: Sway, meter

"C:\Program Files\Exail\Delph INS Subsea\UdtExporter.exe" /t "C:\Program Files\Exail\Delph INS Subsea\Templates\INS NAV.popudt" out-ins.xpf ins_out.txt