Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
does anyone know how to read the value of a globel constant while being offline?
I know how to read values while being online using something like "myOnlineApp.read_value(...)".
But in my case, I can't get online. I just want to open a project and get the values of some constants
defined in the source code of the project.
Thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) Get the text of object declaration part using textual_declaration property
(like described here l viewtopic.php?f=18&t=8558 l )
2) Parse strings and find your constant initial value.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: cf2017
Hi there,
does anyone know how to read the value of a globel constant while being offline?
I know how to read values while being online using something like "myOnlineApp.read_value(...)".
But in my case, I can't get online. I just want to open a project and get the values of some constants
defined in the source code of the project.
Thx
1) Get the text of object declaration part using textual_declaration property
(like described here l viewtopic.php?f=18&t=8558 l )
2) Parse strings and find your constant initial value.