This node is designed to simplify the command creation processes. The node contains a drop-down list of all available commands for controlling an AV Pro Edge AC-CX42-AUHD Matrix Switcher. Simply inject the variables into the node and it returns to the output a complete command ready to be sent to the device.
The command instructions:
Set Output x To Input y{x=[0~2](0=ALL), y=[1~4]}
First, select the Set Output x To Input y
command from the drop-down menu:
Drop in a TCP Out Node and configure it to match the matrix switcher IP and Port#:
Configure the inject node:
msg.payload.x
msg.payload.y
where,
x is a Number
y is a Number
The resulting command is:
SET OUTx VS INy
The command sent to the device:
SET OUT0 VS IN4
You can now programmatically inject values as variables and send them to the device without hard coding values.