Hello Community,
I'm having problems with preselecting a script for the measurements points. Basically what needs to be done is to check through the protocol if certain script is present, and if it is to set it up, if it is not, to leave the field as blank. Would this be possible to do?
Thanks.
Hi Miguel,
the user is supplying the script and there are cases when it will not be present.
Hi Amar,
But if the script was already provided, it will stay in the cluster unless it is intentionally removed by the user. Maybe I am missing something else?
Could it be the case that the user provides a script with a different name every time?
Hi Amar,
As discussed, we could implement the code snippet provided by Michiel in the protocol to create a measurement point programmatically but the user will still need to define the script to be included in the measurement point. Hardcoding the script name in a connector is not a good idea since it will only be valid for a specific implementation.
Hi Amar,
Small question, why you are checking through a protocol if the script is present?
In which cases the script will not be present? Once you deploy a script in a DMS, it will be available in the cluster.