If I have all visualizations and their backing logic under POUs, the compiler warns about VisuDialogs.NumPad missing from Visualization Manager (even if it is checked there), and trying to download program anyway causes an exception to be thrown in VISU_TASK (Codesys says it's somewhere in Trace Manager library, but from my experience that indication is not always reliable).
That was after the first download, when compiler did not complain but I soon noticed that most visualization (90%) were unchecked, without a recognizable pattern (NumPad was checked, though), thus not deployed on the target. So I proceeded to check them all and redownload, finding the issue.
If however I cut&paste the folder that contains the visualizations under the application (in the Devices view), everything works fine.
Problem is, I really need to share all visualizations between two different devices, so I thought that putting them under POUs was the right way.
Is there anyone that has an idea on what is going on?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a rather strange issue with SP16 patch 5.
If I have all visualizations and their backing logic under POUs, the compiler warns about VisuDialogs.NumPad missing from Visualization Manager (even if it is checked there), and trying to download program anyway causes an exception to be thrown in VISU_TASK (Codesys says it's somewhere in Trace Manager library, but from my experience that indication is not always reliable).
That was after the first download, when compiler did not complain but I soon noticed that most visualization (90%) were unchecked, without a recognizable pattern (NumPad was checked, though), thus not deployed on the target. So I proceeded to check them all and redownload, finding the issue.
If however I cut&paste the folder that contains the visualizations under the application (in the Devices view), everything works fine.
Problem is, I really need to share all visualizations between two different devices, so I thought that putting them under POUs was the right way.
Is there anyone that has an idea on what is going on?