FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
03-20-2024 09:42 PM
I am wondering if anybody knows how to create an array of UINT16 in the Kvd's nodes.json.
In the Kvd manual I found little information on arrays. It's supposed to be
aruint16 array of unsigned int (16 bit)
, but the syntax below not work. I imagine the length of the array needs to be defined, I just don't know how to.
Solved! Go to Solution.
03-25-2024 03:37 PM
Hello,
you don't need to set an array length it increased/decreases automatically when you write data into the array.
I created a array, similar like yours
and it's empty by default.
I write some values and press save
and the values are written and the array size increased from "0" to "7".
If you want to access such an "empty" array via OPC UA, it's the same. The size increases automatically when I write some data (I used the UA-Expert).
I write only "0" for all 4 elements
and the array has increased with the written values.
03-26-2024 02:35 PM
Thanks for the detailed response.
Unfortunately, my structure looks differently, see below.
I am running the latest 1.20.