How to set Bus Address from Automation script c#
Yes, i would like to modify bus address for an element that is already created. bus address in TCP/IP settings
Hi Niraj,
If you use DIS to develop your scripts, you can make use of the Class Library features.
A nice introduction video is available for you to learn how to use the Class Library in an automation script: DataMiner Integration Studio (DIS) Class Library – DataMiner Dojo
In following feature highlights you can find some examples on updating elements:
Class Library 1.2.0.5: New feature highlights - DataMiner Dojo
For you it will be a matter of updating the DeviceAddress property on the connection object.
once you updated this property you just call the Update() method on the element object to apply the changes and done!
See example I created below:
I hope this helps you out. Please let us know in case of any problems/questions. 😉
Hi Niraj, please could you elaborate a bit more your question? Are you planning to modify the bus address for an element?
Can you provide us more information about your use case?