As far as I know, if your license is a softcontainer you can't. Because the license is bound to your raspberry pi by softcontainer. If you have installed your license on a USB dongle then there is no issue.
Size isn't needed, it's implicitly given by the ARRAY via the Lowerbound and Upperbound function call. See help: https://help.codesys.com/webapp/_cds_datatype_array;product=codesys;version=3.5.16.0#array-of-variable-length // DUT FOR DUTIndex := LOWER_BOUND(structure ,1) TO UPPER_BOUND(structure ,1) DO // itterate structure[DUTIndex] // abyReadBuffer FOR BufferIndex := LOWER_BOUND(structure[DUTIndex].abyReadBuffer ,1) TO UPPER_BOUND(structure[DUTIndex].abyReadBuffer ,1) DO // itterate structure[DUTIndex].abyReadBuffer[BufferIndex]...
Size isn't needed, it's implicitly given by the ARRAY via the Lowerbound and Upperbound function call. // DUT FOR DUTIndex := LOWER_BOUND(structure ,1) TO UPPER_BOUND(structure ,1) DO // itterate structure[DUTIndex] // abyReadBuffer FOR BufferIndex := LOWER_BOUND(structure[DUTIndex].abyReadBuffer ,1) TO UPPER_BOUND(structure[DUTIndex].abyReadBuffer ,1) DO // itterate structure[DUTIndex].abyReadBuffer[BufferIndex] // Do stuff with structure[DUTIndex].abyReadBuffer[BufferIndex] here END_FOR END_FO...
Size isn't needed, it's implicitly given by the ARRAY via the Lowerbound and Upperbound function call. // DUT FOR DUTIndex := LOWER_BOUND(structure ,1) TO UPPER_BOUND(structure ,1) DO // structure[DUTIndex] // abyReadBuffer FOR BufferIndex := LOWER_BOUND(structure[DUTIndex].abyReadBuffer ,1) TO UPPER_BOUND(structure[DUTIndex].abyReadBuffer ,1) DO // structure[DUTIndex].abyReadBuffer[BufferIndex] // Do stuff with structure[DUTIndex].abyReadBuffer[BufferIndex] here END_FOR END_FOR
Size isn't needed, it's implicitly given by the ARRAY via the Lowerbound and Upperbound function call. // DUT FOR DUTIndex := LOWER_BOUND(structure ,1) TO UPPER_BOUND(structure ,1) DO // structure[DUTIndex] // abyReadBuffer FOR BufferIndex := LOWER_BOUND(structure[DUTIndex].abyReadBuffer ,1) TO UPPER_BOUND(structure[DUTIndex].abyReadBuffer ,1) DO // structure[DUTIndex].abyReadBuffer[BufferIndex] // Do stuff with structure[DUTIndex].abyReadBuffer[BufferIndex] here END_FOR END_FOR