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:
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 -...