Development discussion of TauLabs software such as ground control stations, antenna trackers etc.
no avatar
User

mcg

Posts

23

Joined

Thu Jun 18, 2015 7:49 pm

Log file viewer

by mcg » Sun Jun 28, 2015 9:50 am

Hi
Not sure if its of use to anyone, but to help me diagnose some problems I've put together a file file viewer that imports the logs generated by the GCS software.
Its not exactly robust and the XML parser is very dodgy, buts its quite straight forward to use. Allows you to browse the log on the screen and export any values to a CSV file.. Graphing coming soon. Of course the really dirty thing with it is that its written in C#...... There's no WPF or other oddities so it should run fine under Mono for non-windows platforms. It requires the XML files for the objects you want to view in the working directory.

logviewer.png
logviewer.png (25.87 KiB) Viewed 3614 times


Code and binaries (VS2010)

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

no avatar
User

mcg

Posts

23

Joined

Thu Jun 18, 2015 7:49 pm

Re: Log file viewer

by mcg » Mon Jul 13, 2015 12:04 pm

Had a spare half an hour so I've added a rubbish graph and fixed a few things. I have written a nice graph control with pan/zoom etc but its on WPF, made a start of porting it but don't really have the time at the moment (though it does work under Android so I might do a quick Xamarin port at some point for viewing logs on-the-go).
lfv1.png
lfv1.png (51.36 KiB) Viewed 3446 times


Don't have a GitHub account yet so still on zip files..

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

no avatar
User

SaimenSays

Posts

7

Joined

Mon Oct 12, 2015 5:19 pm

Re: Log file viewer

by SaimenSays » Wed Oct 28, 2015 6:59 pm

mcg wrote:Don't have a GitHub account yet so still on zip files..
[The extension zip has been deactivated and can no longer be displayed.]

@mcg: Can you please send me a PM or upload it to dropbox?

Is there any alternative viewer available? I can find some tries in other threads, but there seems to be nothing "official" in Github.
User avatar
User

Evan.W

Posts

11

Joined

Sat Mar 01, 2014 5:46 pm

Re: Log file viewer

by Evan.W » Thu Oct 29, 2015 7:37 am

very nice work! more easy to check log file
looking forward to a final release
no avatar
User

mcg

Posts

23

Joined

Thu Jun 18, 2015 7:49 pm

Re: Log file viewer

by mcg » Thu Oct 29, 2015 12:18 pm

Not had the time to do anything on this for quite a while now.. Even my quads been sat stationary for a couple of months :(

I'll dig out the code and stick it on G-Drive or something in a bit. Would be great if someone wants to improve on it.
User avatar
User

Evan.W

Posts

11

Joined

Sat Mar 01, 2014 5:46 pm

Re: Log file viewer

by Evan.W » Sat Oct 31, 2015 3:42 pm

i want to try it :D can you share the code? link?
no avatar
User

mcg

Posts

23

Joined

Thu Jun 18, 2015 7:49 pm

Re: Log file viewer

by mcg » Mon Nov 02, 2015 9:02 am

Ok, give this a go..

https://drive.google.com/open?id=0B-MGg ... jBGalYyOGM

Theres a zip in the root folder that contains everything. I've very briefly tried it with the latest official release of TauLabs and it still seems to work. You might need to update some of the xml files though for better support of the newer versions.
Xml files come from https://github.com/TauLabs/TauLabs/tree ... definition
Add them into the same folder as the .exe and it should parse any that it finds.. Its not flawless by a long long way but would be interested to know how it goes!
The project is in VS2010 at the moment, but I might have some time later, in which case Ill probably change it to VS2013
no avatar
User

SaimenSays

Posts

7

Joined

Mon Oct 12, 2015 5:19 pm

Re: Log file viewer

by SaimenSays » Tue Nov 03, 2015 6:48 pm

Thanks mcg!

Evan.W wrote:i want to try it :D can you share the code? link?

If there will be an active development in next time, it would be nice to add this to github.
User avatar
User

Evan.W

Posts

11

Joined

Sat Mar 01, 2014 5:46 pm

Re: Log file viewer

by Evan.W » Wed Nov 04, 2015 4:50 pm

thanks
no avatar
User

mcg

Posts

23

Joined

Thu Jun 18, 2015 7:49 pm

Re: Log file viewer

by mcg » Thu Nov 19, 2015 7:39 pm

Any feedback on this??
Things that work well?
Things that don't work (I suspect quite a lot)?
Next

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron