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.
Ask questions, get advice from experts and peers on Digital Automation & Energy Management.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-03-22 12:49 AM
Hello All - I need get some Cicode to run all the time, as opposed to be event driven. Is there a Cicode file or section that runs all the time, that I can load my Cicode into it?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-03-22 04:11 AM
Hi,
You can use the [client] StartupCode parameter to launch your cicode function:
[client]
StartupCode = MyStartup
FUNCTION MyStartup()
TaskNew("MyCicodeFunction", "", 8);
END
FUNCTION MyCicodeFunction()
WHILE 1=1 DO
.......... //your code
END
Regards,
Juan
END
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.