Results 1 to 7 of 7

Thread: Using GPS Gamma (and indicator)

  1. #1
    Variable Bitrate
    Join Date
    Dec 2007
    Location
    Reading, PA
    Posts
    235

    Using GPS Gamma (and indicator)

    Sometimes, especially after my car has been sitting for a few days, the USB GPS receiver doesn't get a signal look very quickly, so the GPS-controlled gamma doesn't kick in, and if this occurs at night, I am left with a very bright screen. I am adding a button ("GAMMA") to toggle between Day/Night/GPS. The button works great, but I also want an indicator so I can see the status of the gamma. I added an indicator for "GPSGAMMA" which is supposed to indicate the current state, but nothing shows up.
    Any ideas as I couldn't find much documentation on it?

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    it will be true of false based on a few things

    due to use of literal numbers, vs constants i cant tell you what it means...

    If GammaMode = 2 Then
    GetIndicator = (GammaModeState = 2)
    ElseIf GammaMode = 3 Then
    GetIndicator = (GammaModeState = 2 And GPS.Valid)
    Else
    GetIndicator = False
    End If
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  3. #3
    Variable Bitrate
    Join Date
    Dec 2007
    Location
    Reading, PA
    Posts
    235
    So there is no way for me to tell the status of which button toggle I have selected? I found out how I can use the indicator to display ON or OFF, but I'd rather interested in knowing which state I put it in. More like a On, Off, or Auto. That's the Control Engineer inside me trying to squeeze more functionality out of this.

  4. #4
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    i dont want to say no... but 99% of the gamma/gps gamma wasnt programmed by me or guino... so im not 100% sure what you can or cant do...
    that little snip i showed you for that indicator, is not good programming skills there alone....

    prob should remove it all, and make it a plugin
    (NOT)

    maybe do something with the user vars... im not sure... not eactly sure what you want to do too
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  5. #5
    Variable Bitrate
    Join Date
    Dec 2007
    Location
    Reading, PA
    Posts
    235
    I like the 3-state button functionality...its perfect. But maybe you guys could add an indicator for the status of the gamma...whether it is DAY (manual), NIGHT (manual), DAY (gps controlled), or NIGHT (gps controlled).

  6. #6
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    sure... but the gamma code is a bit sloppy, and prob should be rewritten...
    ill make a mental note...
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  7. #7
    Variable Bitrate
    Join Date
    Dec 2007
    Location
    Reading, PA
    Posts
    235
    lol...if I could I would...but I'm helpless in this case.
    Thanks Mitch.

Similar Threads

  1. Gamma
    By millsy in forum Road Runner
    Replies: 2
    Last Post: 07-07-2009, 02:34 PM
  2. RR gamma
    By bay350z in forum Road Runner
    Replies: 3
    Last Post: 01-15-2008, 03:59 PM
  3. Gamma Control Help
    By anitanium in forum Road Runner
    Replies: 0
    Last Post: 08-23-2005, 07:56 PM
  4. Gamma control
    By Bravellir in forum RR Bug Tracker
    Replies: 1
    Last Post: 02-19-2005, 02:38 PM
  5. Gamma - Is It Done - I'm Not Sure
    By ccsnet in forum FrodoPlayer
    Replies: 4
    Last Post: 11-24-2004, 05:50 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
  •