Telemetry Extractor SDK  Version 1.0.1
Using Telemetry Extractor for file parsing.

This is an example of STANAG 4609 Telemetry Extractor SDK usage for STANAG Telemetry Extraction from the 4609 compliant file. This code snippet demonstrates how to open a file and receive decoded telemetry packets. STANAG 4609 Telemetry Extractor SDK allows metadata extraction from STANAG files (TS) and RAW binary files.

Note
RAW binary files MUST have ".bin" or ".dat" extension.

To perform this task, we'll use StanagTelemetryExtractor instance. For more details on the interfaces please see StTelemetryExtractor.IStanagTelemetryExtractor


Now, the ExtractorPacketReadyEvent will be fired every time new packet is decoded. The event also provides an approximate byte offset from the beginning of the file.

static void extractor_ExtractorPacketReadyEvent(List<EG601Item> pckt, Int64 offset)
{
Console.Write("Packet {0} klvs\t received\t ", pckt.Count);
Console.Write("Time {0}. Offset {1}\n", pckt[0].ConvertedValueStr, offset);
}

The event will contain a list of decoded KLV metadata packets, as shown below:

Packet.png
Figure 1. Decoded packet.


For the complete sample source please see Sample Code - Klv Metadata extraction

Untitled 1




 Copyright 2013,    IMPLEOTV SYSTEMS LTD