Controller#
A Controller
object is returned from e.g. get_current_controller.
Properties#
Property |
Value Type |
Description |
Value Example |
---|---|---|---|
|
integer |
Controller number |
|
|
string |
Controller name |
|
|
string |
VLAN tag number as a string. |
|
|
boolean |
Whether this controller is set as the Network Primary in the project |
|
For example:
cont = get_current_controller()
name = cont.name