I working on updating a set of unit tests written under CODESYS V3.5 SP9 Patch 5 so that it runs under CODESYS V3.5 SP13 Patch 2. The tests run fine under the former version.
However, under the latter I have run into "Exception: Value cannot be retrieved: Too many expressions" which, as far as I understand, signifies that the number of values that is to be retrieved is too large for the CODESYS buffer to handle. I have tried running a test with significantly smaller number of inputs and outputs and it works fine.
My questions are as follows:
- What has changed between those versions of CODESYS that the described behaviour is observed?
- How can this problem be remedied? Perhaps there has been introduced another function which I should be using?
Best regards,
Janusz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I working on updating a set of unit tests written under CODESYS V3.5 SP9 Patch 5 so that it runs under CODESYS V3.5 SP13 Patch 2. The tests run fine under the former version.
However, under the latter I have run into "Exception: Value cannot be retrieved: Too many expressions" which, as far as I understand, signifies that the number of values that is to be retrieved is too large for the CODESYS buffer to handle. I have tried running a test with significantly smaller number of inputs and outputs and it works fine.
My questions are as follows:
- What has changed between those versions of CODESYS that the described behaviour is observed?
- How can this problem be remedied? Perhaps there has been introduced another function which I should be using?
Best regards,
Janusz