Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
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.
Search in
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.
You’ve reached the end of your document
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.