Hi all,
I'm actually able to use these two functions to register a component and
insert entries in the device log.
I'm just wondering what's the meaning of these input arguments:
udiCpmId and udiVersion for CMAddComponent
udiCpmId, udiErrorID and udiInfoID for logAdd2
more in general...does exist any documentation for CmpLog and Component
Manager libraries?
Any kind of help is really appreciated.
Thank you!
I have the exact same question. Does a documentation exist for these functions?
I've found documentation for LogAdd2, but not for CMAddComponent and CMAddComponent2, and in particular for all the functions of the "Component Manager" library.
Any hints?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm actually able to use these two functions to register a component and
insert entries in the device log.
I'm just wondering what's the meaning of these input arguments:
udiCpmId and udiVersion for CMAddComponent
udiCpmId, udiErrorID and udiInfoID for logAdd2
more in general...does exist any documentation for CmpLog and Component
Manager libraries?
Any kind of help is really appreciated.
Thank you!
Last edit: i-campbell 2020-04-09
Trying to find an answer by myself I find out that udiInfoID input parameter in logAdd2 can be used as a numeric identifier for a log entry.
You'll find it when exporting the logger in xml
p.s. : embedding images in posts seems not possible
Last edit: alejho 2020-04-03
I have the exact same question. Does a documentation exist for these functions?
I've found documentation for LogAdd2, but not for CMAddComponent and CMAddComponent2, and in particular for all the functions of the "Component Manager" library.
Any hints?
Thanks in advance.
guess nothing else than:
https://help.codesys.com/webapp/LogAdd2;product=CmpLog;version=3.5.16.0
and here in Forge:
https://forge.codesys.com/u/ingo/blog/2019/05/add-own-log-messages/
Last edit: eschwellinger 2020-10-01