Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
By simba, 22 June, 2011
I have a problem with function GetValue when i want to read some value from objects. For example when i call this function with parameters for reading date and time:
Function works well for parameter DataType.None, but have a crash for others DataType value when call function ChangeType() in GetValue() definition. This is the code in GetValue function, where crash happen:
if (dataType != DataType.None)
{
data = m_Cosem.ChangeType(data, dataType);
}
else
{
data = m_Cosem.GetValue(data);
}
GetValue problem
Hello, simba, and welcome to Gurux Forum!
To be able to work on this, we'd need some further information, because we haven't been able to reproduce the situation.
Kindly specify about the meter; manufacturer and model
and about the problem itself, what type are you trying to change to, when crashing?
Best regards,
Gurux developers