Announcement

Collapse
No announcement yet.

setGlobalSeries() ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • setGlobalSeries() ???

    Hi. I'm using a computationally intense study twice. In one chart I display the last fifteen minutes or so of data and in a second chart I display the entire day. To cut down on cpu consumption I've thought of running the study only once but then setting the outputs as global values which would then only have to be retrieved and displayed by the aforementioned studies. But that method only retrieves the values generated in real-time. That is, it will not backfill a day if I reload it. Is there such a function as a setGlobalSeries which could be reloaded and backfill? If not, is there a work-around available?

    One thought is to set the global value as an array of values rather than simply the present real-time value. If that is possible, how would I go about it? Thanks for any help.

    Mike

  • #2
    Mike

    One thought is to set the global value as an array of values rather than simply the present real-time value. If that is possible, how would I go about it?
    If memory serves me right this topic has been discussed in the past. Try running a search for setglobalvalue* AND array and you should find those threads together with some examples on how to save arrays as global values.
    Alex

    Comment


    • #3
      Thanks for the reference, Alex.

      Mike

      Comment


      • #4
        Mike
        You are most welcome
        Alex

        Comment

        Working...
        X