I have list of PIds which belong to table of Titan decoder. Using these PIds i want to get the parameter name. For example in Decoder overview table,
PID - 1112
Parameter name - Decoding
Im trying to find extension methods to find this, but we can only get value of those PID. If someone can help me with this, it would be great.
Hi Baranisudha,
I am not sure if there is a method that can provide the parameter name from a parameter ID. For example, when triggering an automation script from a correlation rule, we have a workaround to pass the parameter name to the automation script.
A possible option could be using web services. There is a method GetParameterInfo that will return a DMAParameterInfo object that contains the parameter name.
Hope it helps.
What im trying to do is, from LCA Im getting protocol name, using that Im fetching service params and table pids by below code. Now i want user to choose necessary table columns as per need. So i want to get table columns. In this case i wont have dmaId, element id. Im just having protocol name.
This is how i get service params and table details from protocol:
GetProtocolMessage getProtocolRequest = new GetProtocolMessage(protocolName, protocolVersion);
var protocolInfo = _engine.SendSLNetSingleResponseMessage(getProtocolRequest) as GetProtocolInfoResponseMessage;
currently im trying to get table definitions using below code but getting object reference error:
GetTableDefinitionMessage table = new GetTableDefinitionMessage(columnName);
var tableInfo = _engine.SendSLNetSingleResponseMessage(table) as GetTableDefinitionResponse;