Just optimising a couple of things in Citect 5.21, but I assume it is the same for a few versions.
When you open a trend page that calls Trend.ci from include is there a way to make the default span time say 24Hours.
Currently the first time you open a trend it defaults to a Timebase of maybe 10 seconds or similar. Change to the time base required and will stick until a restart.
I was able to change a trend that didn't call Trend.ci with the following TrnSetSpan(30,StrToTime("168:00:00")); to set for 7 day span, but no luck for other trends.
When you open a trend page that calls Trend.ci from include is there a way to make the default span time say 24Hours.
Currently the first time you open a trend it defaults to a Timebase of maybe 10 seconds or similar. Change to the time base required and will stick until a restart.
I was able to change a trend that didn't call Trend.ci with the following TrnSetSpan(30,StrToTime("168:00:00")); to set for 7 day span, but no luck for other trends.