Hello, I'm trying implicit messaging as in your examples, I downloaded the last commit (hash
0a606b6...).
It seems that instruction like eeipClient.O_T_IOData[0] = 1 (any value assigned is the same)
has no effect.
To solve this I removed _O_T_IOData cloning in the public property, getter section:
public byte[] O_T_IOData
{
get
{
lock (_O_T_IOData_lock)
{
// return (byte[]) _O_T_IOData.Clone();
return (byte[])_O_T_IOData; // this works when indexing eeipClient.O_T_IOData ..
}
}
set
{
// ...
}
}
Is this a bug or did I have to use implicit messaging in a different way?
Thanks
Best regards