Hallo Florian,
Ich habe die Schritte die du benannt hast jetzt mit einem anderen file gemacht, aber ich bekomme sowieso überall die selbe Fehlermeldung.
Deine letzte Frage verstehe ich nicht ganz. Die Struktur wird doch mit der DDL im adtfdat-file abgelegt. Demnach müsste das Tool doch immer wissen wie ein Stream zu decodieren ist. Sowie ich das verstanden habe wird das Plugin nur für die formatierte Ausgabe genutzt?
In der Hilfe steht:
To extract data from streams of an ADTF DAT file use the --export argument. Select the streams you
want to extract by using the --stream argument. You can specify a processor for each stream with
the --processorid argument. If you do not specify one explicitly, the first one that supports the
stream is used. Properties of processors can be specified with the --property argument. The
destination filename is specified with the --output argument. Here is an example that exports two
streams:
und da das plugin csv-prcessor schon in den Examples includiert ist, bin ich davon ausgegangen, dass der in diesem Fall automatisch ins CSV-Format exportieren würde.
hier die Ausgabe von adtf_datdump -o
D:\Tools\ADTF\3.3.0\bin>adtf_datdump -o D:\ADTF3_dat\AufnahmeStrSen_002.adtfdat
------------------------------------------------------------------------------
Overview:
------------------------------------------------------------------------------
Byteorder: 1
ChunkCount: 196
Timestamp: 20:36:19.0 28.9.2017
Description:
Duration: 9599608 microseconds
GUID: BDE5375B-2B6E-4DB5-BFC7-E7E28E9F9926
Time Offset: 348247
Version: 1024
Extensions: 7 items
StreamId TypeId UserId VersionId DataPos DataSize Identifier
0 0 0 0 18960 0 referencedfiles
0 0 0 0 18960 40 adtf_version
0 0 0 0 19000 37 GUID
0 0 0 0 19037 4356 index0
0 0 0 0 23393 32 index_add0
1 0 0 0 23425 2137 index1
1 0 0 0 25562 32 index_add1
Streams:
StreamID IndexCount TableIndexCount FirstTime LastTime Name
1 196 99 348247 9947855 csv
Die enhaltenen Streams
D:\Tools\ADTF\3.3.0\3rdparty\adtfdat_processing\bin>adtf_dattool --liststreams D:\ADTF3_dat\AufnahmeStrSen_002.adtfdat
adtfdat:
csv:
type: adtf/default
processors:
time range: [348247, 9947855]
items: 196
und mein Aufruf
D:\Tools\ADTF\3.3.0\3rdparty\adtfdat_processing\bin>adtf_dattool --export D:\ADTF3_dat\AufnahmeStrSen_002.adtfdat --stream csv
exception: no processor capable of handling the stream 'csv' found.
oder ein anderer
D:\Tools\ADTF\3.3.0\3rdparty\adtfdat_processing\bin>adtf_dattool --export D:\ADTF3_dat\AufnahmeStrSen_002.adtfdat --stream csv --processorid csv --output test.csv
exception: no factory for processor csv
Gruß
Niclas