I ran into a confusing scenario yesterday.
My parent ind script has calc.OET
My hosted child ind script also has calc.OET
In my child ind script, I was debugging to Log() during the State=Config, to determine if Period property was set below a minimum value when called from the parent.
My understanding on Obj Lifecycle was that config is only called when the config dialog box / window is displayed / submitted...
But my log quickly filled up and a chart refresh ran for over an hour before I pulled the plug.
So it appears when the parent makes a call to a hosted child ind script, that child script triggers the state=config on each call (i.e. on each tick ) ?
Is this accurate? Does it also trigger the state = dataloaded on each call?
Since I have series being instantiated during the state=DL, are these series being created on each instance all and then destroyed after the child script has finished and returns to the parent?
I'm asking bcuz I could not find any description or explanation of this in documentation or the forum search.
Thanks
Comment