01.03.2023, 15:59
Hi
How can I get a part of the group address inside a script using event.dst
Thank you
How can I get a part of the group address inside a script using event.dst
Thank you
get part of address
|
01.03.2023, 15:59
Hi
How can I get a part of the group address inside a script using event.dst Thank you
01.03.2023, 16:09
What are you trying to do?
See this https://forum.logicmachine.net/showthrea...7#pid28967
------------------------------
Ctrl+F5
03.03.2023, 07:10
(01.03.2023, 16:09)Daniel Wrote: What are you trying to do? automatically I would like to read the last part of the group address, for example /20 and then write, depending on the case, in another virtual tag that always ends with /20 if I could break down the script to be able to read the last part of the group address it would be perfect. Thank you
03.03.2023, 07:27
Use this:
Code: parts = event.dst:split('/') |
« Next Oldest | Next Newest »
|