Mp3car Home Page The mp3Car.com Forums The mp3Car.com Store The mp3Car.com Blog About mp3Car.com    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain > FB Software

Notices

Reply
 
Share Thread Tools Display Modes
Old 09-05-2007, 01:46 PM   #16
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Posts: 515
It's definatly worth it man, I'm the same way. I got all my planned upgrades done for the next release of RRCam, but by then i had a bunch of little ideas, and rewrote half the codebase So worth it in the end though.

This is going to be skinnable, right? Aside from mean/median/mode of the values, how about a graph of all values, or a graph every x seconds or so? Being able to apply equations to the graphed output would be awesome too, kinda like a spreadsheet app
__________________
Space Navigator - 6 Axis input device: Take it apart - Driver App
RRCam - Video/webcam capture, text overlay, and recording: 2.0 Stable
inh is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-05-2007, 02:09 PM   #17
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Quote: Originally Posted by inh View Post
It's definatly worth it man, I'm the same way. I got all my planned upgrades done for the next release of RRCam, but by then i had a bunch of little ideas, and rewrote half the codebase So worth it in the end though.

This is going to be skinnable, right? Aside from mean/median/mode of the values, how about a graph of all values, or a graph every x seconds or so? Being able to apply equations to the graphed output would be awesome too, kinda like a spreadsheet app

not sure with what you mean apply equations to it.

But yes the graph time span will be changeable. Not in a skin but all through javascript! Since it is all "client side" it was really my only choice. That and it is easy.
2k1Toaster is offline   Reply With Quote
Old 09-05-2007, 02:19 PM   #18
inh
Maximum Bitrate
 
Join Date: Jan 2007
Location: Fort Riley KS
Posts: 515
Cheater!

Whats going through my mind when i say equations is that basically, I would liek to use an accelerometer to measuer acceleration (yes, I know, very creative) and estimate power from that. I've dont it before based off of the datalogging from my cars computer, which spit out a timestamp and the vehicle speed...

Its probably too complicated and niche, best left to spreadsheet apps (which is why csv would be nice =] )
__________________
Space Navigator - 6 Axis input device: Take it apart - Driver App
RRCam - Video/webcam capture, text overlay, and recording: 2.0 Stable
inh is offline   Reply With Quote
Old 09-05-2007, 07:32 PM   #19
Newbie
 
Join Date: Jul 2007
Posts: 37
Quote: Originally Posted by 2k1Toaster View Post
"sensor,port,vidpid,yyyymmdd,hh:mm:ss:uu,raw,evalua ted"

so for the first data bit in the pic above, it would be "Ultrasonic Sensor,0,0,20071225,16:30:30:500,3.456,10.65". Good enough?

That works for me. The UI and graphs look great, even though I probably wouldn't use them. I basically will import the data into Excel and do what I need to do there, but I understand that others want the cool stuff.

Looking good...
ginigma is offline   Reply With Quote
Old 09-10-2007, 03:16 AM   #20
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Ok, here is some more updates:

When you just open the webpage, you see the first image. All the sensors are dynamically retrieved from the XML file. The timesteps right now are milliseconds, seconds, minutes, and hours. The starttime and endtime are not done yet, but you will be able to choose which time to which time.


After seelcting the sensor. Usually the menu scrolls back up, but I clicked it again and scrolled it down. So all the top menus animate themselves up and down:


Changed the timestep, so more data is shown, and the menus default roll up:
2k1Toaster is offline   Reply With Quote
Old 09-10-2007, 03:48 AM   #21
Raw Wave
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 2,647
Quote: Originally Posted by 2k1Toaster View Post
I think I may be getting a little carried away like this, but once I get started on an idea, I tend to wander on design and then "just a little change" in the layout and I lose 4 hours to tweaking it to look perfect. Its a curse! I hope it is worth it though...

Yep, I'm definitely in that same boat, I always add extras while debugging the previous problems, only to end up with x2 the problems I started with and less sleep. LOL
Blue ZX3 is offline   Reply With Quote
Old 09-10-2007, 02:22 PM   #22
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Quote: Originally Posted by Blue ZX3 View Post
Yep, I'm definitely in that same boat, I always add extras while debugging the previous problems, only to end up with x2 the problems I started with and less sleep. LOL

Yes! Usually right after a new idea, I go to bed with a program that doesnt compile!
2k1Toaster is offline   Reply With Quote
Old 09-11-2007, 02:36 AM   #23
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Ok I got the time working now. So now you can select the time (down to the tenth of a millisecond) to start the textual and graphical display as well as the time (again tenth of a millisecond) to stop the display.

I think everything is pretty much done. Any suggestions? I just need to configure the program to output the correct XML format now .

Here is the newest shot:
2k1Toaster is offline   Reply With Quote
Old 09-27-2007, 03:33 PM   #24
Constant Bitrate
 
thekl0wn's Avatar
 
Join Date: Apr 2005
Location: PoCo, Indiana
Posts: 141
Slick... Very slick!
__________________
Planning [-------X--] 70%
Programming [-X-------] 20%
Parts [-------X--] 75%
Install [-X-------] 10%

Why is my progress moving backwards?
thekl0wn is offline   Reply With Quote
Old 09-28-2007, 03:36 PM   #25
Constant Bitrate
 
Join Date: Oct 2004
Location: Canada
Posts: 144
Very interesting I have a project coming up i want to work on for work that has
data logging if you want to see if you can accomodate.

i need to count and stamp when the inputs are active

so for DI 1 count how many times it was pressed at what time and how long

I have 9 inputs i need to count eventually.

the project will go much deeper then that but that is one part

also how many time the button was pressed in each hr of every day.

It is for monitoring a piece of machinery when we would like to know how often it was used
what time of day is busiest, what is the life expectancy of the machine at the current rates,
is the equipment being misused my the user all kinds of data if possible. Then later i would
like to add a camera to monitor the equipment to see what something breaks and how it
happened. This will give the maintenance people alot of info to fix it when it breaks down.

anything else you can think of would help to
thanks

Last edited by gt__1; 09-28-2007 at 03:42 PM.
gt__1 is offline   Reply With Quote
Old 10-13-2007, 10:16 PM   #26
FLAC
 
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,287
data file size and utility:

Is there a maximum amount of data that can be stored for any one sensor?
Will it 'roll' to keep recent values in event max file size is reached?
Can data be cleared for just one sensor? For a given timeframe?

Is it always going to be working, or must it be turned on prior?

What about hitting record and having it permamently save to file the last few minutes (or similar) of data? Turning on could possibly be triggered by an input (i.e. when braking, it knows to store rotor temperature for a set time or duration of the braking, stuff like that, for 'black box' functionality, or for parents keeping an eye on childrens driving habits: when they go too fast, it starts recording, or data saves in the even of a theft)
h3rk is offline   Reply With Quote
Old 10-26-2007, 03:55 PM   #27
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Quote: Originally Posted by h3rk View Post
data file size and utility:

Is there a maximum amount of data that can be stored for any one sensor?
Will it 'roll' to keep recent values in event max file size is reached?
Can data be cleared for just one sensor? For a given timeframe?

Is it always going to be working, or must it be turned on prior?

What about hitting record and having it permamently save to file the last few minutes (or similar) of data? Turning on could possibly be triggered by an input (i.e. when braking, it knows to store rotor temperature for a set time or duration of the braking, stuff like that, for 'black box' functionality, or for parents keeping an eye on childrens driving habits: when they go too fast, it starts recording, or data saves in the even of a theft)

The software just logs. It doesnt do any cleanup or erasing or anything of the sort. It reads a value and dumps it to the file. It is a very nice file though.

Sorry I didnt respond to this sooner I just saw it. Also, logging must be turned on and then it logs until it is turned off. You can create an other button to start/stop the logging.

I will try to find a way to store x amount of data points in memory without creating huge bogged down systems because for every sensor it is storing like 1000 data points in RAM! I will see what I can do.



The reason I dug up this post is because I am now finalizing the logging, and well I am now adding a lot more. It is never finished lol.

I know someone mentioned they wanted comma seperated lists... I just realized that Excel opens XML files natively. I think any version over 2003 does! So you can just open open the log file directly. So in that case, a comma seperated list seems unneccessary... What do you think?

Also do you prefer 1 consolidated log as in the new version, or multiple logs spread out in different files in a structural/folder layout? I like the single file, but I am not sure if it can get too large that way. I need to add some protection for that.
2k1Toaster is offline   Reply With Quote
Old 10-26-2007, 06:07 PM   #28
FLAC
 
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,287
I'm cool with one log, based on the number of sensors any one installation will have, especially if the data can be chooped up with respect to time, kinda like you mentioned.
How are you differentiating each 'recording'? Is there a field with a unique identifier for a recording instance, or something like that?
h3rk is offline   Reply With Quote
Old 10-27-2007, 12:14 AM   #29
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Quote: Originally Posted by h3rk View Post
I'm cool with one log, based on the number of sensors any one installation will have, especially if the data can be chooped up with respect to time, kinda like you mentioned.
How are you differentiating each 'recording'? Is there a field with a unique identifier for a recording instance, or something like that?

It will be in a folder of the sensor name, and then a timestamp on the file itself. Every day it should create a new file. Well, at least for 100 years, and then your January 1st 2108 recordings will be placed in your January 1st 2008 folder.

I dont think that should be too much of a problem. (Famous last words <cough>y2k</cough> )
2k1Toaster is offline   Reply With Quote
Old 10-27-2007, 01:26 AM   #30
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,848
Ok, testing the size of the data and I am now satisfied with it.

It turns out to be 470bytes per data point.

So some figures:
1 hour worth of recording at 1Hz: 1.6Mb (temperature or something)
60 seconds at 180Hz: 4.8Mb (performance testing)
1 full day at 1 data point a minute: 116Mb

I dont think that is too bad. Expecially for all the data stored. I think I am going to actually take some repetitive data out, so it is "back to the basics" with it. Or I'll just add another option in the skin file

So I think those sizes are reasonable, no?
2k1Toaster is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Renault "Tuner List" Head Unit/CD changer hacking - Controls Vicne Hardware Development 784 12-03-2008 01:29 PM
*NEW* USB Input/Output Board -- Fusion Brain 2k1Toaster Fusion Brain 1095 08-04-2008 02:22 PM
using fusion brain to delay turn on of amp theheel Fusion Brain 9 08-27-2007 10:33 PM
Fusion Brain Integration michael2 RR Plugins 2 08-22-2007 12:59 AM
Pinout Color Codes / Tables gummybear General Hardware Discussion 4 05-12-2005 04:05 AM


All times are GMT -5. The time now is 12:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics