-
Hello, Thank you in advance. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
See https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Table-Compatibility |
Beta Was this translation helpful? Give feedback.
-
Hello Kay,
Thank you for the response.
The following two javadoc links in the online help are not working.
https://control-system-studio.readthedocs.io/en/latest/app/display/editor/doc/html/generated/org/csstudio/display/builder/model/Widget.html
https://control-system-studio.readthedocs.io/en/latest/app/display/editor/doc/html/generated/org/csstudio/display/builder/model/widgets/package-summary.html
The document says "a script can read a text file, read from a web service"
can you point to a sample program for the same.
I am not so conversant with Jython or embedded scripting of phoebus, so It
will be helpful if the online documentation mentions of the other
external/internal modules that can be called/used in the embedded scripts
for number processing, statistical analysis, os and other support.
Regards,
Kuldeep
…On Wed, Oct 13, 2021 at 11:50 AM Kay Kasemir ***@***.***> wrote:
See
https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Table-Compatibility
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2030 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATMOMUIAX4X6AZ7SD6SUQBLUGVW7HANCNFSM5F4RNNVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Links to the API only work in the complete help as it's bundled in the application, not with the standalone web help In the examples, check scripts, web service, i.e., https://github.com/ControlSystemStudio/phoebus/tree/master/app/display/model/src/main/resources/examples/webservice, for an example that reads text from a web service and then displays that. The thing about scripts in general: They are an advanced feature for those users who want to do dig into the API, i.e. read the source code, study all the examples, to accomplish some special behavior that is fundamentally not supported by the display, but can be done because it's an open system where you do have the freedom to dig into the source code and call anything in there from a script. But that also means you do have to look into the source code, and you might have to update the script as the displays builder source code changes, |
Beta Was this translation helpful? Give feedback.
-
Then maybe simply don't use it. Most of the other display tools (EDM, MEDM, ... ) don't have a table widget because Channel Access doesn't provide table data. PVAccess now does, but only if you write your own custom server to generate it. In Phoebus, developers on the bleeding edge can start to show table data if they put in their own custom script code to generate the table data, but as you found out by now, that's not easy. It basically means extending the display builder (via a script), it's way beyond simply using the features that it offers out of the box. |
Beta Was this translation helpful? Give feedback.
Then maybe simply don't use it. Most of the other display tools (EDM, MEDM, ... ) don't have a table widget because Channel Access doesn't provide table data. PVAccess now does, but only if you write your own custom server to generate it.
In Phoebus, developers on the bleeding edge can start to show table data if they put in their own custom script code to generate the table data, but as you found out by now, that's not easy. It basically means extending the display builder (via a script), it's way beyond simply using the features that it offers out of the box.