Hi Archie,
i have problem with ScaleFactor property in ChartBySampling, it outputs wrong result with floating number scale factor, looks like it doesn't read the decimal point. That problem doesn't occure with integer number scale factor.
I'm using Omron PLC with SerialFINS driver.
example:
1) input=0-600
scale factor=0,5
output=5 (constant)
2) input=0-600
scale factor=0,1
output=1 (constant)
3) input=0-600
scale factor=1,5
output=0-600 (the result equal with scale factor=1)
4) input=0-600
scale factor=2,5
output=0-1200 (the result equal with scale factor=2)
5) input=0-600
scale factor=2,9
output=0-1200 (the result equal with scale factor=2)