Page 1 of 1

Custom Plugin Question

Posted: Wed Feb 22, 2012 11:23 am
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?

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Wed Feb 22, 2012 12:27 pm
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 :-)

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Wed Feb 22, 2012 12:27 pm
by Fred
Or just export your data to CSV and use as-is :-)

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Thu Feb 23, 2012 5:07 pm
by BenFenner
I was going to say, CSV or tab-delimited files are also supported. That might be easier.

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Fri Feb 24, 2012 8:23 am
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?

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Fri Feb 24, 2012 2:34 pm
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.

Re: Bug Reports For Non-Sun JDKs Not Accepted

Posted: Mon Feb 27, 2012 2:45 am
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

Re: Custom Plugin Question

Posted: Mon Feb 27, 2012 3:14 am
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.

Re: Custom Plugin Question

Posted: Mon Feb 27, 2012 4:07 am
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

Re: Custom Plugin Question

Posted: Mon Feb 27, 2012 4:10 am
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