A class that allows you to read and write from a Emulation variable.
connection | Gets the variable's owner connection as a Emulation.Connection object. |
value | Gets and sets the variable's value. |
Emulation.Variable | Creates a reference to an Emulation Variable. |
readonly Emulation.Connection connection
Gets the variable's owner connection as a Emulation.Connection object.
Emulation.Connection myConnection = myVariable.connection;
Variant value
Gets and sets the variable's value.
double value = Emulation.Variable("myVariable").value;
Emulation.Variable("myVariable").value = 3;
Emulation.Variable( Variant variable ) |
variable | The name or rank of the variable. |
Creates a reference to an Emulation Variable.
Emulation.Variable variable = Emulation.Variable("PE1");