Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Problems importing simple values from CSV

Hi Joerg,


Have you checked the User Guide on creating a state provider http://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/Data-driven-analysis.html#Defining_an_XML_state_provider and on defining an XY chart http://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/Data-driven-analysis.html#Defining_an_XML_XY_chart ?


There is also an example XML state provider and view definition available here: https://github.com/tracecompass/xml-analysis-example/blob/master/xml/ust-example-analysis.xml



It's difficult to say what the problem is without your XML state provider and view definition :)



Kind regards,


Robbert




Van: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> namens Jörg Weinhardt <jw@xxxxxxxxxxxxxxx>
Verzonden: donderdag 27 oktober 2016 06:23:50
Aan: tracecompass-dev@xxxxxxxxxxx
Onderwerp: [tracecompass-dev] Problems importing simple values from CSV
 
Hi,

maybe off topic but I don't know where to get help for this:
I want to parse log file entries like:

1649957.48,UserValue,Id=1,Value=0
1649957.51,UserValue,Id=1,Value=41
1649957.64,UserValue,Id=2,Value=2

from a log file into a XY chart view. The XML parser file is working but I
didn't get the XML state provider to work together with the XY view definition.

Parser looks like:
<InputLine>
<Cardinality max="2147483647" min="0"/>
<RegEx>([0-9.]*),UserValue,Id=(\d+),Value=(\d+)\S*</RegEx>
<EventType>UserValue</EventType>
<InputData action="" format="Tm.SS" name="Timestamp" tag="TIMESTAMP"/>
<InputData action="" format="" name="ValueId" tag="OTHER"/>
<InputData action="" format="" name="UserValue" tag="OTHER"/>
</InputLine>

thanx,
Joerg
_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tracecompass-dev

Back to the top