Compiler error when using EasyUaReadList

Hi Javier,
Thank you for your sharing. When I try to use the EasyUaReadList function block, there seems to be a compiler error 1152. Do you have the same problem?


Moderator: Moved topic

1 Like

The error message tells you that there is VAR_IN_OUT parameter NodeErrorIDs.
A VAR_IN_OUT has to supplied between the () off the function block call, so somethings like this: EasyUaReadList_0(NodeErrorIDs := NodeErrorIDs);
I assume that NodeErrorIDs is a DWORD array, but I am not sure how long the array must be.

It would be better to create a seperate topic next time.

@corne.geerts Moved topic :slight_smile:

Thank you, it works! I wasn’t using VAR_IN_OUT properly before.