First of all, thanks for your help. I couldn't fit the last codes you suggested, either the panel was locked or only one suggestion worked. can you explain more broadly?
thanks.
Original Message:
Sent: 08-06-2025 11:16
From: James Peltzer
Subject: dashboard custom panel does not track dynamic changes
Nothing there should 'block' you from selecting a source. In general, since you have your own parameters and you're trying to sync them with another parameter, you'll want to have ogscript tasks assigned to 'params.statusByDestination', 'Sources', and 'Destination'. One important part of your script should be to check if the parameter already has the value you want before you set it - this will prevent you from bouncing back and forth between script executions unnecessarily.
So in params.statusByDestination you would have
if (params.getValue('Sources', 0) == this.getValue()) {
return;
}
and in your task for Sources you would have
if (params.getValue('params.statusByDestination' + destination + '.inputStatus', 0) == this.getValue()) {
return;
}
------------------------------
James Peltzer
Ross Video
Original Message:
Sent: 08-05-2025 11:20
From: ferhat ozgun
Subject: dashboard custom panel does not track dynamic changes
Hi James,
I modified the code in this way and it listened to ultrix, but this time it blocked the source selection. is there a solution for this?
thanks.
<task tasktype="ogscript">
var Destination = params.getValue('Destination', 0);
var selected5 = (params.getParam("Ultrix.1", 'params.statusByDestination.' + Destination + '.inputstatus', 0).getValue());
params.setValue("Sources", 0, selected5);
</task>
------------------------------
ferhat ozgun
Original Message:
Sent: 08-05-2025 09:47
From: James Peltzer
Subject: dashboard custom panel does not track dynamic changes
You need to change from using your own parameters to actually reading and responding to params.statusByDestination from the Ultrix itself if you want to track the live data.
------------------------------
James Peltzer
Ross Video
Original Message:
Sent: 08-05-2025 09:45
From: ferhat ozgun
Subject: dashboard custom panel does not track dynamic changes
Hi James,
The custom panel we created for ultrix fr5 receives updates while working in itself. but it cannot follow the changes done by the hard panel or internal panels created in ultrix in real time. refresh is required. how do we make real-time listening from ultrix?
thanks.
------------------------------
ferhat ozgun
Original Message:
Sent: 08-05-2025 09:33
From: James Peltzer
Subject: dashboard custom panel does not track dynamic changes
Hi Ferhat
Where is the parameter defined? If it lives on a device, then any panels pointed at that device should see the updates come through. If it is defined in the panel, then you're correct that only the panel's copy of the parameter will be updated.
The solution most people use if they want an internal parameter to be shared across multiple panels are:
- Use XML data source if all panels are still running in the same instance of DashBoard (DashBoard internally will handle sharing the data across all consumers of the same XML file provided they're running in the same DashBoard process).
- Create one panel as your "primary" panel holding all shared data parameters and define jsonport="####" (where ##### is the number of an open port on your machine like 5270) and then add a new manual TCP/IP / openGear OGP-JSON connection from other DashBoards to your "primary" DashBoard's IP or Hostname on the port you specified. You can then use the 'device' inside of this as the data source for your custom panels that need to consume the shared parameters.
For #2 there are even some advanced techniques to have the primary panel serve-up all of the other panels but I'd recommend starting simply.
------------------------------
James Peltzer
Ross Video
Original Message:
Sent: 08-05-2025 02:22
From: ferhat ozgun
Subject: dashboard custom panel does not track dynamic changes
Hi,
I use the following code piece in the custom panel. no problem in the panel, it follows. but it does not track the changes other panels make.
param expand="true" height="50" left="195" oid="Sources" style="style:actionButton;bdr:round;font:bold;size:Big;bdr#modaloverlay;bg-align:center;t:bg#860808;t:font:bold;t:size:Normal;t:fg#panelfg;t:bdr:etched;t:txt-align:center;t:hi-u:Offtube_Panel_Old/arrow-33-32_Beyaz.png;t:look:round;f:bg#timerfg;f:size:Normal;f:fg#modaloverlay;f:hi-u:Offtube_Panel_Old/arrow-33-32_Siyah.png;" top="478" widget="radio-toggle" width="413">
<task tasktype="ogscript">var dst = param.getValue ("Destination",0);
var destinationPosizyon = param.getValue (dst,3);
param.setValue(("Sources",0,"destinationPosizyon");</task>
</param>
how should I proceed?
------------------------------
ferhat ozgun
------------------------------