Dear Dojo,
I want to add a new param to my protocol with multiple default values. Is it possible to do this? If so, how? Can someone please help me?
Thank you
Hi Marco,
As Carlos said, its not possible to have multiple default values on a parameter (in case you are referring to using the DefaultValue element as described in DefaultValue element | DataMiner Docs)
However, you can hardcode all possible values in C# (via a QAction) and trigger that QAction during startup. Based on certain conditions (e.g., other parameters), you can set the desired value programmatically.
There are several ways to trigger a QAction (timer, button, etc) so this will depend on the use case
Kind regards,