SpaceLogic KNX Forum
Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.
Link copied. Please paste this link to share this article on your social media post.
Hello
I am looking for an easy way to create multiple virtual objects in spacelynk.
regards,
Link copied. Please paste this link to share this article on your social media post.
Hi,
Run this script once to create 100 objects on the fly:
for i = 1, 100, 1 do
grp.create({
datatype = dt.float32,
address = '31/1/' .. i,
name = 'Object ' .. i,
comment = 'Auto created by script',
units = ' m3',
tags = {},
})
end
BR,
Erwin
Posted: 2020-09-28 02:50 AM
Link copied. Please paste this link to share this article on your social media post.
Hi the community members can you help this member, please?
@Thomas_Rohde or @Hashim_Assanar do you think you can advise on this topic?
Link copied. Please paste this link to share this article on your social media post.
Yes you can mass create objects with script.
i have no computer with me but i will post a sample tonight
Link copied. Please paste this link to share this article on your social media post.
Hi,
Run this script once to create 100 objects on the fly:
for i = 1, 100, 1 do
grp.create({
datatype = dt.float32,
address = '31/1/' .. i,
name = 'Object ' .. i,
comment = 'Auto created by script',
units = ' m3',
tags = {},
})
end
BR,
Erwin
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.