Sleeping script alternative
-
Last year phildunlap suggested I included a RuntimeManager.sleep(5000); to help alleviate the running out of memory issue we were experiencing during scripting history recalculation since the points-to-be-written seemed to go up and consume the memory. It seemed to help the issue and so I was wondering someone can show me how to get the ptbw value at runtime so I can decide to sleep or not?
-
Hi Phillip,
"Point values to be written" is a monitored value that can be stored by a data point on an Internal Data Source. Then you can add that data point into your context as you normally would any other data point.
-
thanks Phil I should have realized this of course aagh