Hi,
I want to create a universal custom panel for all mixer.
In the first time, I just want to entry adresse Ip and port of the mixer on this custom panel and after push a connection button they connect automaticaly to this device. In second time, that would be perfect if button of universal custom panel can follow up device connction in the first step. I tryed the drag and drop but the button stay attached at her mixer panel.
Please help me thank you.
I’m not quite sure if this is what you need but I hope it helps. What follows should help you set a param once and have it persist for every time you use the panel. Just set the IP and port.
Create a param with the OID Device_IP with Wiidget Hint: Text Entry(3)
Create a param with the OID Device_Port with Wiidget Hint: Text Entry(3)
Draw 2 default params on your panel one for each Device_IP and Device_Port (might be good to include the param name here if you’d like)
Whenever you send a rosstalk message (usually constructed {IP, Port, Message}) use - where message is your message
rosstalk.sendMessage(params.getValue(‘Device_IP’, 0) ,params.getValue(‘Device_Port’, 0), ‘[message]’);
You can also create an API and put some global variables in there like
var DeviceIP = params.getValue(‘Device_IP’, 0);
and simplify it all quite a bit.
#DashBoard