Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Maximun RR variable data size

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265

    Maximun RR variable data size

    What is the maximum RR variable data size?

    Are there any character restrictions in the content of the data?

    Regards,
    Jim

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The variables are VB6 strings, so in theory the limit is 2Gb, but real limits will definitely depend on memory and many other factors. The bigger the strings the slower they may be to handle and remember that some characters have special meaning in RR so if you use some special characters you may not be able to use certain functions with the variable.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Guino,

    Thanks.

    I'm thinking of storing a JSON or XML string to share between a plugin and a couple of apps I am writing so as to cut-down on internet traffic.

    Using RR variables will save me the trouble of using Windows shared memory.

    I shouldn't have character set issues but will scan the strings anyway.

    Could you comment on the characters tht might be trouble?

    That raises another question, does RR look at the content of the data when processing either a SETVAR or GetInfo?

    Regards,
    Jim

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    If you use the plugin specific commands to get/set user variables, you don't have to worry about special characters - it's only when trying to use the variables in commands (i.e. "COMMAND;$VAR$") that you should worry about things like ||, <<, >>, ++, etc.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

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

    Join Date
    Oct 2004
    Posts
    5,255
    That raises another question, does RR look at the content of the data when processing either a SETVAR or GetInfo?

    of course it does...

    look at this..

    "SETVAR;myvar;blabl||test"

    in a plugin, you should NOT be using SETVAR, use .SetUserVar()
    -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

  6. #6
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    mitch,

    I just found GetUserVar and SetUseVar.

    I've just gotten back to an old plugin that contains an SDK that doesn't have those and out of habit I had continued to use SETVAR.

    I have since switched all of my plugins to use the most recent SDK (10/1 - haven't downloaded 11/1 yet).

    BTW, I knew the answer to the SETVAR question and don't know why I asked.

    Guino answered the the same question about SetUserVar that the content isn't scanned.

    Regards,
    Jim

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

    Join Date
    Oct 2004
    Posts
    5,255
    no problem...but FYI
    the SDK hasnt changed(additions) in quite some time...
    since 11/2010!!
    yes 2010!!!
    SetUserVar/GetUserVar been there since 11/2010
    read history.txt
    -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

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    He did state that it was an OLD plugin that he started...
    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."

  9. #9
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,166
    Blog Entries
    52
    I'm not sure history.txt is the ideal place to look for changes to the SDK (even if they do rarely occur) SDK documentation should exist in a separate entity, preferably with each addition being added to the extension plugin examples. The idea is to make it easier to open up VBS and code right?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

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

    Join Date
    Oct 2004
    Posts
    5,255
    they are in the examples... do i hear you volenteering for documentation help?
    -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

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 09-02-2011, 07:36 PM
  2. Display OBD data w/ external sensor data?
    By Gr0nk in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 4
    Last Post: 05-19-2011, 03:13 PM
  3. Replies: 0
    Last Post: 09-10-2010, 03:19 AM
  4. Replies: 4
    Last Post: 07-19-2006, 06:57 PM
  5. Maximun IDE bus length? Are 5 metres possible?
    By jonmurua in forum General Hardware Discussion
    Replies: 9
    Last Post: 06-17-2005, 12:51 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
  •