Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Fusion Brain Data Logging

  1. #21
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    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
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  2. #22
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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!
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  3. #23
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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:
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  4. #24
    Variable Bitrate
    Auto Apps:loading...
    thekl0wn's Avatar
    Join Date
    Apr 2005
    Location
    PoCo, Indiana
    Posts
    284
    Slick... Very slick!
    Play with it, 'til it's broke.

  5. #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

  6. #26
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    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)
    It's been a while...

  7. #27
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  8. #28
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    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's been a while...

  9. #29
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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> )
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  10. #30
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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?
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Renault "Tuner List" Head Unit/CD changer hacking - Controls
    By Vicne in forum Hardware Development
    Replies: 800
    Last Post: 10-30-2012, 07:09 PM
  2. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 02:33 AM
  3. using fusion brain to delay turn on of amp
    By theheel in forum Fusion Brain
    Replies: 9
    Last Post: 08-27-2007, 09:33 PM
  4. Fusion Brain Integration
    By michael2 in forum RR Plugins
    Replies: 2
    Last Post: 08-21-2007, 11:59 PM
  5. Pinout Color Codes / Tables
    By gummybear in forum General Hardware Discussion
    Replies: 4
    Last Post: 05-12-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •