Guys,
I have a working function in version 5.23 and I upgraded to the latest version 5.59 and it doesn't work anymore. It seems the parameter type have changed or something for the ReadMultipleItemValues function. Here is my working solution in 5.23:
m_opcClient.ReadMultipleItemValues(argumentArray) line is complaining about the argumentArray. It says:
'DAItemValueArguments()' cannot be converted to 'DAReadItemArguments()' because 'DAItemValueArguments' is not derived from 'DAReadItemArguments'
I have a working function in version 5.23 and I upgraded to the latest version 5.59 and it doesn't work anymore. It seems the parameter type have changed or something for the ReadMultipleItemValues function. Here is my working solution in 5.23:
m_opcClient.ReadMultipleItemValues(argumentArray) line is complaining about the argumentArray. It says:
'DAItemValueArguments()' cannot be converted to 'DAReadItemArguments()' because 'DAItemValueArguments' is not derived from 'DAReadItemArguments'