Dear,
I know this function to get parameter inside Qaction C#:
Example:
string s_city = Convert.ToString(protocol.GetParameter(50));
But how can I retreive the IP and Port/Bus in C# property of an element?
Regards Cedric Buerfent
Hi Cedric,
I think you should be able to achieve this by defining a parameter of type "bus" and "port". More information can be found here. DataMiner will automatically populate those parameters with the corresponding values.
From your QAction, you can then simply retrieve those values by reading the parameters you defined. This way, you can access the bus or port information directly without needing additional logic.
Hope this helps.
Kind regards,