Replies: 1 comment
-
Hi, I see where you are going, but for such deep integration, I also think you will need to reverse engineer from existing code (the widgeting is a forked from CS-Studio), and adapt if/where required. I would need to do exactly the same before I could answer your questions properly. So quick take: 1/ Not yet. But it could be added in https://github.com/yamcs/yamcs-studio/blob/master/bundles/org.yamcs.studio.css.script/src/main/java/org/yamcs/studio/script/Yamcs.java. You have access to the applicable YamcsClient there. 2/ Attach a script to the display itself and have that trigger with a 3/ I suppose you've found 4/ |
Beta Was this translation helpful? Give feedback.
-
I created (and retired) a completely web based frontend to YAMCS. I'm migrating back to YAMCS Studio now. One of the features of the frontend I created is it automatically created command argument popups. I could specify none, some, or all arguments in the command button metadata. The frontend would query the server for command definitions. Then it would match up and validate the arguments supplied in the command button metadata, if any. If there were still any arguments left undefined in the metadata, it would generate a popup and query the user to supply the remaining arguments. I work with systems that have thousands of commands, most of which have arguments. Hand writing a set of OPI's just for command arguments can take a lot of time and is error prone.
If all 4 of these capabilities are possible, I think dynamic creation of OPI content from the YAMCS database is possible. I probably wouldn't use this method universally, but it would at least be nice to have this as an option early in development. Either as a temporary method until the user has time to hand generate better looking more user friendly displays. Or, when this produces displays that meet production requirements, as a permanent alternative to hand generating every command argument OPI.
Beta Was this translation helpful? Give feedback.
All reactions