GetInstance

Description: Returns the object value of a module instance.
Warning: For use by advanced programmers only. Effective use of this function requires a thorough understanding of VTScada programming.
Returns: Object
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  Basic Module
Related to: FindVariable | CalledInstances | NumInstances
Format: GetInstance(Module, Index)
Parameters:  
Module
Required. Any expression for the code value of the module.
Index
Required. Any numeric expression indicating which instance of Module to get. The most recently started instance is instance 0.
Comments: If the number requested is larger than the total number of instances for the module, the return value will be invalid.