First post here, experienced automation engineer but new to codesys.
I've got this error promped when trying to compile project :
[ERROR] MDML_230215: Project Settings: Property handling in all visualization element properties is deactivated but compiler define VISU_USEPROPERTYINFO is set.
I double checked the project settings but did'n see any settings like "property handling in visualization element"... I must be missing something.
right click on your application, got to properties, "Build" tab. Under Compiler defines, add the string VISU_USEPROPERTYINFO
Normally this gets added automatically for me, if I check "Activate property handling in all element properties" in the Project Settings/Visualization. But I've noticed that the compiler define gets lost if I convert from one PLC to another.
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, thanks to your answer I checked the project settings again, the option "activate property handling in all element properties" was not visible without checking the case "Visualization --> Advanced --> visible". It's ok now!
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just had this issue, and VISU_USEPROPERTYINFO was already defined. So I unchecked "property handling in visualization element" pushed apply, then rechecked "property handling in visualization element" and pushed apply. Then recompiled. That fixed the problem.
π
2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in german:
Projekt/Projekteinstellungen/Visualisierung/Sichtbar - CLICK
Danach
* "Eigenschaften-Behandlung in allen Elementeigenschaften aktivieren" CLICK OFF - OK
* "Eigenschaften-Behandlung in allen Elementeigenschaften aktivieren" CLICK ON - OK
Danach sollte es gehen.
Last edit: mg0815 2025-06-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to Project β Options (or Project β Properties, depending on your CODESYS version).
Find the section called Compiler Defines.
Look for the define:
nginx
Copy
Edit
VISU_USEPROPERTYINFO
Delete it from the list, or uncheck it if itβs a checkbox.
Save your changes and try compiling the project again.
β This is the right approach if you donβt need property handling for visualization elements.
Last edit: eschwellinger 2025-07-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@davidking, can you be more specific about where exactly "Compiler Defines" is located.
I'm using Codesys v3.5 SP21 Patch2 and cannot find this Compiler Defines option. In the menu Project -> Project Settings there are Compiler options and Compiler warnings, but that is not it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
First post here, experienced automation engineer but new to codesys.
I've got this error promped when trying to compile project :
[ERROR] MDML_230215: Project Settings: Property handling in all visualization element properties is deactivated but compiler define VISU_USEPROPERTYINFO is set.
I double checked the project settings but did'n see any settings like "property handling in visualization element"... I must be missing something.
Had someone an idea about what's causing this?
Thanks, have a good day.
more posts ...
right click on your application, got to properties, "Build" tab. Under Compiler defines, add the string VISU_USEPROPERTYINFO
Normally this gets added automatically for me, if I check "Activate property handling in all element properties" in the Project Settings/Visualization. But I've noticed that the compiler define gets lost if I convert from one PLC to another.
Thanks, thanks to your answer I checked the project settings again, the option "activate property handling in all element properties" was not visible without checking the case "Visualization --> Advanced --> visible". It's ok now!
I just had this issue, and VISU_USEPROPERTYINFO was already defined. So I unchecked "property handling in visualization element" pushed apply, then rechecked "property handling in visualization element" and pushed apply. Then recompiled. That fixed the problem.
you all saved my life now ;)
same issue solved with this advice... thanks
3.5.19.5
project settings -> visualization -> advanced -...
3.5.19.7
THANK YOU, 1000 times !!!!
in german:
Projekt/Projekteinstellungen/Visualisierung/Sichtbar - CLICK
Danach
* "Eigenschaften-Behandlung in allen Elementeigenschaften aktivieren" CLICK OFF - OK
* "Eigenschaften-Behandlung in allen Elementeigenschaften aktivieren" CLICK ON - OK
Danach sollte es gehen.
Last edit: mg0815 2025-06-27
Solution: Disable VISU_USEPROPERTYINFO define
Go to Project β Options (or Project β Properties, depending on your CODESYS version).
Find the section called Compiler Defines.
Look for the define:
nginx
Copy
Edit
VISU_USEPROPERTYINFO
Delete it from the list, or uncheck it if itβs a checkbox.
Save your changes and try compiling the project again.
β This is the right approach if you donβt need property handling for visualization elements.
Last edit: eschwellinger 2025-07-09
@davidking, can you be more specific about where exactly "Compiler Defines" is located.
I'm using Codesys v3.5 SP21 Patch2 and cannot find this Compiler Defines option. In the menu Project -> Project Settings there are Compiler options and Compiler warnings, but that is not it.