TheWaterboy
Lifetime Supporting Member + Moderator
How do I use SIZE in an AOI as a InOut param?
I want to pass an array of unknown size (up to a hard limit) to an AOI as InOut param, then in the AOI compare for changes using a previous copy of the source array with FSC and an interval timer. This works well in ladder when everything is defined, but when trying to make it more generic for multiple uses I need to determine what size I have passed it and I can't get SIZE to accept any source parameter I type in with or without [Element].
I want to pass an array of unknown size (up to a hard limit) to an AOI as InOut param, then in the AOI compare for changes using a previous copy of the source array with FSC and an interval timer. This works well in ladder when everything is defined, but when trying to make it more generic for multiple uses I need to determine what size I have passed it and I can't get SIZE to accept any source parameter I type in with or without [Element].