When designing, implementing, or troubleshooting a system, it is always useful to have the total number of items being polled from a given DI Object. The total number of I/O being polled by a DI Object, if excessive, can lead to system instability/poor performance. As many implementations of System Platform, including those using the Base template library, utilize Dynamic Attribute Assignment at runtime in order to take full advantage of the object-oriented nature of the software, the total number of items being polled from a given DI Object can vary depending on what objects are deployed or on scan. Thus, the most reliable way to get the total number of items being polled from a DI Object is to look at the .ItemCnt attribute of each scan group on the DI Object. While this is easy to do for DI Objects with single topics, totaling up item counts of DI objects with multiple topics can be cumbersome. The following article describes steps to create a script which will automatically total up the number of item references on a given DI Object.
See options below for more…
To review this TechTip online now, click the icon located at top right in the PDF snapshot viewer below:
PDF Snapshot Viewer:
How to reach us:
Share this article: