When I set the project information object using python like this:
projInfo = proj.get_project_info() projInfo.version = "1.2.3.4"
The automatically generated POUs (GetVersion, GetTitle, etc.) are not updated.
Is there any way to force a update of these using python?
(I am using CODESYS 3.5.3.7)
/Rasmus
Originally created by: M.Schaber
Hi, Ranie,
You found a bug. I filed CDS-37548 in our jira bug database.
CDS-37548.
As a workaround, you can re-set the accessor generation setting to the same value:
projInfo.change_accessor_generation(projInfo.generate_accessors)
This will regenerate the accessor POUs.
Hi,
good news: The fix for this is currently scheduled for the next service pack (V3.5 SP5, which is currently scheduled for July.)
Log in to post a comment.
When I set the project information object using python like this:
The automatically generated POUs (GetVersion, GetTitle, etc.) are not updated.
Is there any way to force a update of these using python?
(I am using CODESYS 3.5.3.7)
/Rasmus
Originally created by: M.Schaber
Hi, Ranie,
You found a bug. I filed CDS-37548 in our jira bug database.
CDS-37548.
As a workaround, you can re-set the accessor generation setting to the same value:
This will regenerate the accessor POUs.
Originally created by: M.Schaber
Hi,
good news: The fix for this is currently scheduled for the next service pack (V3.5 SP5, which is currently scheduled for July.)