Hello,
in ClxDriver 1.1.5.0 I had success reading arrays by accessing their individual elements. As an example, I have a UDT containing a 3 element REAL array (MyUserDataTag1.RealArray). I was able to read the array as follows:
for (int index = 0; index < 3; index++)
{
string arrayElementTagName= string.Format("MyUserDataTag1.RealArray[{0}]", index);
Console.WriteLine("{0} read returned = {1}", arrayElementTagName, clxClient.Read(arrayElementTagName));
}
The code returned the contents of the array as expected.
Now, if I run this code using ClxDriver 1.2.1.0, I get a "KeyNotFoundException":
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at ClxDriver.EthernetIPforCLX.BeginRead(String startAddress, Int32 numberOfElements)
at ClxDriver.EthernetIPforCLX.Read(String startAddress, Int32 numberOfElements)
at ClxDriver.EthernetIPforCLX.Read(String startAddress)
at RockwellTest.Program.Main(String[] args) in [redacted]:line 88
This critical issue required us to rollback to version 1.1.5.0 - consequently removing the ReadRaw functionality which version 1.2.1.0 has provided.
When can an update be expected? Thank you!