Results 1 to 7 of 7

Thread: Graph question?

  1. #1
    Low Bitrate GadgetBandit's Avatar
    Join Date
    Oct 2008
    Posts
    100

    Graph question?

    How would I slow a graph down? I would like to see a point added only every 6 minutes, giving me a 24 hr history.

    Thanks,
    GadgetBandit

    <!-- Begin Graph Instances -->
    <graph id="My Test Graph">
    <line line_colour="255,70,210,70" line_width="3"></line>
    <display size="240,99" location="38,365" page="0" z_order="0"></display>
    <options value_minimum="0" value_maximum="120" time_maximum="300" axis="horizontal"></options>
    <monitor timer="GUI Timer" target_type="variable" target_ID="temp 1"></monitor>
    </graph>


  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    change the max time setting
    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. #3
    Low Bitrate GadgetBandit's Avatar
    Join Date
    Oct 2008
    Posts
    100
    Cool. Thanks. I was way too timid in changing the value to notice any change.

    GadgetBandit

  4. #4
    Low Bitrate GadgetBandit's Avatar
    Join Date
    Oct 2008
    Posts
    100
    There are 4 lines in the graph. Setting the max_time at 5000 does slow it, some. I'd like more, but where does the amount of data become a problem?. Since time is still relative, could a counter be used to sample the variable only after a certain number of cycles, then set max_time could be set back to a low number? I love to have a 24 hr curve.

    Thanks,
    GadgetBandit

  5. #5
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by GadgetBandit View Post
    There are 4 lines in the graph. Setting the max_time at 5000 does slow it, some. I'd like more, but where does the amount of data become a problem?. Since time is still relative, could a counter be used to sample the variable only after a certain number of cycles, then set max_time could be set back to a low number? I love to have a 24 hr curve.

    Thanks,
    GadgetBandit
    It is pretty small memory footprint for each data point but I have never tried anything that big, you can always just try and see what happens
    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

  6. #6
    Low Bitrate GadgetBandit's Avatar
    Join Date
    Oct 2008
    Posts
    100
    I set max time at 6000 and MDX dies with the error "Index out side bounds of array". Is there any way you can made graphing a function, so we can trigger adding a point, say using a counter?

    GadgetBandit

  7. #7
    Low Bitrate GadgetBandit's Avatar
    Join Date
    Oct 2008
    Posts
    100
    Could a graph instance monitor something other than a timer? A variable set by "when", maybe? I could add a point an hour! Anything close?

    Thanks,
    GadgetBandit

Similar Threads

  1. heavy-duty OBD standards support question
    By Michael2006 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 0
    Last Post: 01-07-2007, 05:13 AM
  2. Replies: 2
    Last Post: 05-02-2006, 06:15 PM
  3. Forum Etiquette
    By Enforcer in forum Newbie
    Replies: 5
    Last Post: 01-09-2006, 06:58 PM
  4. Paint And Polish Question
    By gboy in forum Fabrication
    Replies: 8
    Last Post: 08-13-2005, 08:22 PM
  5. FM Card Question....
    By Superbike1k in forum Car Audio
    Replies: 1
    Last Post: 05-16-2005, 10:03 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
  •