The Widget Designer Device enables you to control WD from your Pandoras Box Sequence, more specifically from the nowpointer's position. Commands can be sent for direct execution and up to eight numeric values per node can be sent to WD for further processing. While the simple Widget Device executes the entered commands without additional programming, the Widget Device input node can receive those commands as simple string message and thus can be used for more sophisticated scripting options.
The node can be found under Nodes > Input Nodes > Pandoras Box > Widget Device
Enter the IP address of your Pandoras Box machine.
Enter the Site ID of the Widget Designer Device in your PB Project.
Enter the Device ID of the Values Device you want to read out.
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).
The Node generates the following output:
- Script: Returns the complete script from the Widget Device that is currently executed as a String message.
- Value 1-8: Returns the values 1-8 which are defined in the Values Device of the Widget Designer Device in your PB project.