Facility Control

 View Only
  • 1.  Parameter String Array, max number of values?

    Posted 09-09-2018 14:39
    This just kinda crossed my mind... Is there a max number of entries into a parameter string array?
    Like, at some point it will either bug out, crash, stop working, or start to go slow?

    Kinda expecting not, but at the same time, even excel has its limits...


  • 2.  RE: Parameter String Array, max number of values?

    Posted 09-10-2018 13:24
    There are limits but it is difficult to say as it is dependent on what else you have in your DashBoard system and how long each string is. DashBoard reserves up to 1GB of memory to run itself and all of the values of all of the parameters (as well as user interface components, graphics, and code) need to live within this space.

    In terms of what we've experienced : it can certainly handle 1000s of entries without any difficulty. If you have a string parameter with 1000s of entries, you're better-off using a table parameter to display it instead of having DashBoard generate individual user interface components for each entry. A table will reuse the rendering components for each cell and is much more efficient for these larger data sets.

    James
    #DashBoard


  • 3.  RE: Parameter String Array, max number of values?

    Posted 09-12-2018 08:57
    Well, that was just about the answer I was expecting.
    No, it's not THAT big an entry, I was just wondering if there was a limit somewhere that I should know about.

    I'm making a log in DashBoard for export after a game, but we could in theory end up with some hundreds of entries. But 1GB of memory, no problem then!

    Thanks!
    #DashBoard