Custom Plugin Question

OpenLogViewer is a cross-platform data log viewing application originally written by Gufi and new developed and maintained by Ben and Fred. Discuss all things OLV here!
Post Reply
User avatar
HotCat
LQFP112 - Up with the play
Posts: 110
Joined: Wed Apr 13, 2011 2:35 am

Custom Plugin Question

Post by HotCat »

I've test OLV on Windows XP with JDK build 1.7.0_01-b08, roughly test 3 engine start scenario log files from Peter, works fine. What a cool tool!
I have a USB signal acquisition card, I want to playback the signal captured by the card. Is there a quick way to learn the format of FreeEMS log format? or the only way to learn it through src of FreeEMS firmware and MegaTunix plugin?
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by Fred »

Glad you like it! :-) The future is bright for OLV too :-) Take a look at src/main/java/org/diyefi/openlogviewer/decoders/FreeEMSBin.java for an example of how to parse stuff. Feel free to add a new parser for your file format on a fork in github if you want :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by Fred »

Or just export your data to CSV and use as-is :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by BenFenner »

I was going to say, CSV or tab-delimited files are also supported. That might be easier.
User avatar
HotCat
LQFP112 - Up with the play
Posts: 110
Joined: Wed Apr 13, 2011 2:35 am

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by HotCat »

OLV cann't handle arbitrary length records, the attachment is my csv file, it only has 1883 records. Is there any way to satisfy my requirement?
Attachments

[The extension csv has been deactivated and can no longer be displayed.]

User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by Fred »

Works for me! You have a little noise on your VR signal by the looks :-)

Image

Just select csv file filter and load it. Make sure you're on the latest version from github too.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
HotCat
LQFP112 - Up with the play
Posts: 110
Joined: Wed Apr 13, 2011 2:35 am

Re: Bug Reports For Non-Sun JDKs Not Accepted

Post by HotCat »

Fred wrote:Works for me! You have a little noise on your VR signal by the looks :-)
It is not the real VR signal from car, it was simulated and exported by PC sound card and then captured by my signal acquirtion card.
Just select csv file filter and load it. Make sure you're on the latest version from github too.
Fred.
I just test olv 0.02 on two WinXP machine with jdk 1.6 and 1.7 respectively, neither of them works. OLV seems entering a dead loop without saying any last words. Maybe I should execute OLV from last source
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Custom Plugin Question

Post by Fred »

You should definitely be running from the latest source! :-) Get Maven 3 from their download site and then once working and source up to date, just type "mvn" to build and run it.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
HotCat
LQFP112 - Up with the play
Posts: 110
Joined: Wed Apr 13, 2011 2:35 am

Re: Custom Plugin Question

Post by HotCat »

Fred wrote:You should definitely be running from the latest source! :-) Get Maven 3 from their download site and then once working and source up to date, just type "mvn" to build and run it.
It works, Maven is just fantasy.

The following is how I am doing with Maven, hope it helps many novices like me
Setup your JDK path
1.PNG
Setup your Maven path
2.PNG
clone Fred's OLV repos
3.PNG
Last edited by HotCat on Mon Feb 27, 2012 4:11 am, edited 2 times in total.
User avatar
HotCat
LQFP112 - Up with the play
Posts: 110
Joined: Wed Apr 13, 2011 2:35 am

Re: Custom Plugin Question

Post by HotCat »

Enter Fred's repos and type mvn, let Maven3 doing the fantasy job
4.PNG
It works, no limits on log entries
5.PNG
Post Reply