Instance Count Application
The Instances utility provides a count of the instances (or copies) of modules that are running in all VTScada applications on the workstation.
If the Instances application is not listed in the VAM, you must manually add it. The Instances application's directory is named "Instance" and is stored within the VTScada installation directory.
The Instance tool can help you find potential problems in your application code. For instance, a high count for a particular module might indicate either:
- Excessive numbers of instances of a module have been launched.
- Module instances fail to stop executing when they should.
An example of the Instances utility:
Sample instance count
As shown, the Instances utility provides a count of how many instances of each module are running, and the file name where the module can be found. (Most of the files listed are accessible only to Trihedral employees.) For any file that is loaded from the .sync folder, there will usually be a user-accessible version elsewhere in the application folder. Do not edit any file in the .sync folder.
At the bottom left of the dialog are two values showing the total number of modules running and the total number of instances of those modules.
The display is not updated automatically. You can use the Re-Sample button, found at the lower right of the dialog, whenever you want a current count.