Closed isaac-nls closed 2 years ago
Hi Isaac!
Thanks for reporting this. It certainly should work but it seems not, I will check this in a few days.
Glad to hear that the library has been useful!
Hi Jussi,
No worries at all, thanks for checking it out. Let me know if you need further clarification.
Thanks! Isaac
Hi @isaac-nls!
I fixed the problem in version 1.13.2. At least in my tests everything works now fine. Can you confirm?
Sorry for the delay!
Hi @jisotalo,
Fantastic! I've run my tests above and tested in my broader project and it seems to be fixed on my end too. I even tested it on this abomination below and it worked:
arr4DHybrid : ARRAY[1..4, 1..3] OF ARRAY[1..5] OF ARRAY[1..3] OF BOOL;
Again, thank you very much for your help in resolving the issue, much appreciated!
Thanks! Isaac
Awesome! Thanks for reporting.
Hi,
I'm running into a parsing issue with ads-client not parsing ARRAY of ARRAY syntax correctly. This is an alternative syntax for multidimensional arrays. For reference: Beckhoff example. Specifically, the behaviour I'm getting is that ads-client produces a single-dimensional array of the base type.
For example, in TwinCAT I make the following declaration:
Reading this using ads-client, I get the following result:
My full JS code for producing this is below
Thank you for taking the time to read and for making this library available, it's been fantastic aside from this little bug.
Isaac