Loading...
This chapter gives an overview of the members available for the MatrixPro2 device in the Configuration dialog.
Please read the chapter "Barco MatrixPro2" 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.Barco_MatrixPro2(deviceName or ID) |
Example: Alternative Example: |
This gives access to all further members of the device "Barco_MatrixPro2" 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: |
Barco_MatrixPro2_Name.CustomCommand(command) |
Example: Alternative Example: |
This sends a custom command to the device "Barco_MatrixPro2_1". Please check the manual of your Barco device for a documentation which commands it supports. |
Barco_MatrixPro2_Name.Disable |
Example: Alternative Example: |
This disables the device "Barco_MatrixPro2_1" in the Configuration dialog as if the "Enable" check box in the window was unchecked. Use the .Enable member to reverse this command. |
Barco_MatrixPro2_Name.Enable |
Example: Alternative Example: |
This enables the device "Barco_MatrixPro2_1" in the Configuration dialog as if the "Enable" check box in the window was checked. Use the .Disable member to reverse this command. |
Barco_MatrixPro2_Name.GetLastMessageReceived |
Example: Alternative Example: |
This returns the last message that was received from the device "Barco_MatrixPro2_1" as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Barco_MatrixPro2_1.GetLastMessageReceived |
Barco_MatrixPro2_Name.GetProductType |
Example: Alternative Example: |
This returns the product type from the device "Barco_MatrixPro2_1" as a string value. The result could look as follows: Barco Matrix Pro II You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Barco_MatrixPro2_1.GetProductType |
Barco_MatrixPro2_Name.IpAddress |
Example: Alternative Example: |
This returns the IP address of the device "Barco_MatrixPro2_1" 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 = Barco_MatrixPro2_1.IpAddress In return, you can also assign an IP address to the connected Barco device. WD automatically connects to it afterwards. |
Barco_MatrixPro2_Name.IsConnected |
Example: Alternative Example: |
This member returns the connection status for the device "Barco_MatrixPro2_1" 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 = Barco_MatrixPro2_ID.IsConnected |
Barco_MatrixPro2_Name.IsEnabled |
Example: Alternative Example: |
This member returns the status of the check box "Enable" for the device "Barco_MatrixPro2_1" 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 = Barco_MatrixPro2_ID.IsEnabled |
Barco_MatrixPro2_Name.LastMessageReceived |
Example: Alternative Example: |
This returns the last message that was received from the device "Barco_MatrixPro2_ID" as a string value. You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Barco_MatrixPro2_1.LastMessageReceived |
Barco_MatrixPro2_Name.ProductType |
Example: Alternative Example: |
This returns the product type from the device "Barco_MatrixPro2_1" as a string value. The result could look as follows: Barco Matrix Pro II You could also write it into a Widget, e.g. a Label via the script: Label1.Text = Barco_MatrixPro2_1.ProductType |
Barco_MatrixPro2_Name.Route(input,output) |
Example: Alternative Example: |
This sends a command to the device "Barco_MatrixPro2_ID" which routes the input 3 to output 2. |