HI all, i am a beginner user, i and i don't have much knowledge of C#, but if someone can provide a template to write a C# code. Requirements are following:
1-A loop which use a protocol of a device as input, i would be able to pass the protocol using scheduler.
2- the function of loop is to trigger a button for-example taking backup (well defined function offered by protocol).
3- there should be a button on the view level which trigger that loop function (script) , and then loop should parse all of the elements in that view, and compare the protocol to perform the function.
As this question has now been inactive for a long time, I will close it. If you still want more information, could you post a new question?
Hi,
With this answer to your other question, I believe you should already be able to achieve part of what you are after.
To have a button on the view that triggers a script you should be able to use a Visio with a shape that implements something like what is described here Linking a shape to an Automation script | DataMiner Docs
In your parameters, you could pass arguments that match the definition of your automation script so that one argument contains the view name or id (retrievable with the placeholder [this view] or [this viewId]) and possibly another argument for the desired protocol name.
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that the question is resolved?