View Poll Results: How long a time should the MPG be averaged over?

Voters
2. You may not vote on this poll
  • About 10 minutes

    0 0%
  • Hours

    2 100.00%
  • As long as possible

    0 0%
Page 2 of 12 FirstFirst 1234567891011 ... LastLast
Results 11 to 20 of 111

Thread: Vag-Scope Heads Up Display / Front End

  1. #11
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77
    ok, sorry for disapeering, I had a busy weekend

    I think I know enough now to know what to ask.

    here's what I believe I understand

    The first Thing I would do is create a com object.

    then using the com object I would call comObject.Execute("SETVAR;VAG_TEXT1; Sample text");
    (or something similar...I have not been able to play with this). This would change the text on VAG_TEXT1 to "Sample text". The label would have to be defined as "=$VAG_TEXT1$".

    Now, I think you were right when you guessed where I was going to have trouble. I am not sure how to create the com object. When you first asked if I knew how I was thinking of the windows messaging API. Would you be willing to help me out with creating the com object?

    Thank you again for your help!

  2. #12
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,619
    Quote Originally Posted by puter View Post
    Embed VAG Scope

    Why would anyone want to embed a device for looking into womens genitals into RoadRunner, are you a doctor or just a pervert?






  3. #13
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77
    Bigger question is if you would use it?

  4. #14
    Constant Bitrate krnpimpsta's Avatar
    Join Date
    Dec 2007
    Location
    DC Metro area
    Posts
    164
    Dude, this title is so misleading. Thanks for ruining my day.

    Please let me know when you guys embed an ACTUAL vag-o-scope into your carputers. And post pics.

    Thanks.

  5. #15
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77

    interface image.

    Sorry that it was not developed the instant I worked on it :0

    I have the application finished to grab the information.

    I have attached an image of the interface that will be in RR.

    This will hopefully be done by the end of the week. Feel free to check back if you want.


  6. #16
    Constant Bitrate krnpimpsta's Avatar
    Join Date
    Dec 2007
    Location
    DC Metro area
    Posts
    164
    Yeah, thanks for the pic, but not really the vag scope I had in mind.

    This looks like engine stats. I wanted to see the vag scope for something ending in an "-ina"


    Sorry, your project looks great. Just messing around.

  7. #17
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77
    That costs extra

  8. #18
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77
    guino: I was able to figure out how to create the object. I suspect I am going to have trouble with looping, but I want to play with it a bit before I bother you. Basically I am not sure how I am going to have it continuously loop until the back button is pushed on the skin, I'll play with this before I ask you to look into it

  9. #19
    Constant Bitrate tom_rosenback's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    170
    Great work!! This is exactly the application I have been looking for / planning to implement. The one thing that I am mostly interested in is the MPG, is it instantaneous or is it an average? I could help you do the logging if you want...

    As I live in Finland I would like to get the values in metric units, could you specify in your code more exactly where the conversions is done so that I can comment it out in my version.

    Have you tested with older versions of VAG-COM?

    Once again, great work!!

  10. #20
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    77
    Thanks tom. The converstions are actually left in code and commented since I figured people would want the metric version at some point. I will be including all the code when i release it so all you will have to do is change the name from <variable>Conv to <variable> and you will get the metrics. To have proper units show on the RR screen you will need to edit the .png that I will include (so you have all the layers) to contain the correct text.

    The MPG is a variable average that you can set easily in code. What I do is I keep a counter from 0 to 100 and then each check cycle (the delay is easily changed by changing the Thread.sleep() call...I currently have it set to 250 ms) the counter increments. When the MPG is checked the counter takes counter % numMPG. If this is 0 then it enters that loop, updates the MPG field with the new MPG / numMPG. otherwise it simply updates a MPG stored value so that you get the average over that period of time. Right now I have it updating every second. I do it this way because the MPG is wildly variable and If you updated it every 1/4 second it would be nearly useless. I'll probably make the update longer before I am done. If you wanted you could easily run this .exe in the background the entire time and stick the mpg on most any window, I would do that but right now I'm just wanting to get it to work

    I have it working in RR now (I think, have not had time to test it in my car yet)...I'm just trying to get RR to run the .exe. I will be posting about that next.

Page 2 of 12 FirstFirst 1234567891011 ... LastLast

Similar Threads

  1. Embed Visu when already running & in multiple screens?
    By swift_gti in forum Road Runner
    Replies: 4
    Last Post: 01-23-2008, 06:48 AM
  2. slingplayer embed problems
    By 1Munkey in forum Road Runner
    Replies: 1
    Last Post: 11-06-2007, 05:52 PM
  3. cant embed my app!
    By djmickyg in forum SkinBedder
    Replies: 7
    Last Post: 06-13-2006, 09:38 AM
  4. IG Nag screen/ embed issues FIX how to
    By liquid_smoke in forum RR Skins
    Replies: 41
    Last Post: 06-03-2006, 03:35 AM
  5. Will FD 1.0 embed into FrodoPlayer?
    By ayclens in forum FreeDrive
    Replies: 0
    Last Post: 05-13-2006, 12:57 PM

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
  •