Loading...
This chapter gives an overview of the members available for the Lightware Matrix LW2 device.
Please read the chapter "Lightware Matrix LW2" if you would like to know how to add and use this device. As explained in the topic"Object and Member Notation (dot syntax)", all kinds of objects can be addressed in the scripting language by using their members which set (or return if applicable) properties or methods of that object. Please refer to the chapter "Script Language" for more details about scripting in general.
Project.Lightware_MatrixLW2(deviceName or ID) |
Example: Alternative Example: |
This gives access to all further members of the device "Lightware_MatrixLW2" from the Configuration dialog. Using the Project object is an alternative to addressing the device directly by entering its name. The Project object allows to address the device through its name or ID. Substituting the ID with a dynamic variable allows automation. Actions can be performed on many devices of the same type simultaneously, e.g. by using for-loops: |
Lightware_MatrixLW2_Name.CustomCommand(command) |
Example: Alternative Example: |
This sends a custom command to the Lightware device. Please check the manual of your Lightware device for a documentation which LW2 commands it supports. |
Lightware_MatrixLW2_Name.Disable |
Example: Alternative Example: |
This disables the Lightware device in the Configuration dialog as if the "Enable" check box in the window was unchecked. Use the .Enable member to reverse this command. |
Lightware_MatrixLW2_Name.Enable |
Example: Alternative Example: |
This enables the Lightware device in the Configuration dialog as if the "Enable" check box in the window was checked. Use the .Disable member to reverse this command. |
Lightware_MatrixLW2_Name.GetLastMessageReceived |
Example: Alternative Example: |
This returns the last message that was received from the Lightware device as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.GetLastMessageReceived |
Lightware_MatrixLW2_Name.GetProductType |
Example: Alternative Example: |
This returns the product type from the Lightware device as a string value. The result could look as follows: MX8x8DVI Frame You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.GetProductType |
Lightware_MatrixLW2_Name.IpAddress |
Example: Alternative Example: |
This returns the IP address of the Lightware device as a string. The result could look as follows: 10.169.80.10 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.IpAddress In return, you can also assign an IP address to the connected Lightware device. WD automatically connects to it afterwards. |
Lightware_MatrixLW2_Name.IsConnected |
Example: Alternative Example: |
This member returns the connection status for the Lightware device as a Boolean value. The result is "True" if the device is connected and "False" if it is currently disconnected. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.IsConnected |
Lightware_MatrixLW2_Name.IsEnabled |
Example: Alternative Example: |
This member returns the status of the check box "Enable" for the Lightware device in the Configuration dialog as a string or Boolean value. The result is "True" if the device is enabled and "False" if it is currently not enabled. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.IsEnabled |
Lightware_MatrixLW2_Name.LastMessageReceived |
Example: Alternative Example: |
This returns the last message that was received from the Lightware device as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.LastMessageReceived |
Lightware_MatrixLW2_Name.LoadPreset(presetID) |
Example: Alternative Example: |
This sends a command to the Lightware device which loads the preset with ID 2. |
Lightware_MatrixLW2_Name.Port |
Example: Alternative Example: |
This returns the port number of the Lightware device in the Configuration dialog as an integer value. The result could look as follows: 10001 You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.Port In return, you can also assign another port to the connected Lightware device. WD automatically connects to it afterwards. |
Lightware_MatrixLW2_Name.ProductType |
Example: Alternative Example: |
This returns the product type from the Lightware device as a string value. The result could look as follows: MX8x8DVI Frame You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Lightware_MatrixLW2_1.ProductType |
Lightware_MatrixLW2_Name.Route(source,target) |
Example: Alternative Example: |
This sends a command to the Lightware device which routes the source 3 to target 2. |