Emulation.Connection
Description
A class that provides properties for reading from a Emulation Connection.
Properties
| isActive | Gets whether the connection is currently active or not. | 
| name | Gets the name of the connection. | 
| variables | Gets all of the variables associated with the connection. | 
Constructor
| Emulation.Connection | Creates a reference to an Emulation Connection. | 
Details
Do no remove, this fixes the anchor on doc.flexsim.com
			Emulation.Connection.isActive
readonly int isActive
Description
Gets whether the connection is currently active or not.
When a connection is active, it will connection to an external server or PLC.
int connectionActive = connection.isActive;Do no remove, this fixes the anchor on doc.flexsim.com
			Emulation.Connection.name
readonly string name
Description
Gets the name of the connection.
string name = connection.name;Do no remove, this fixes the anchor on doc.flexsim.com
			Emulation.Connection.variables
readonly variables
Description
Gets all of the variables associated with the connection.
Emulation.Variable myVar = connnection.variables[1];Do no remove, this fixes the anchor on doc.flexsim.com
			Emulation.Connection Constructor
| Emulation.Connection( Variant connection ) | 
Parameters
| connection | The name or rank of the connection. | 
Description
Creates a reference to an Emulation Connection.
Emulation.Connection connection = Emulation.Connection("OPC Connection");