This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Saturate CPU
#1
I have created scripts to monitor the states of different ignitions. A lighting can belong to more than one grouping, for example, I have two independent lights in a hallway. When any of them turn on, I have to indicate the following states:
1. Grouping of hallway lights on floor 1
2. Building Corridor Light Grouping
3. Grouping of lights on floor 1

I have done it with tags, for the activation of the script. I have written the script with OR logic gates.



The CPU saturates when I turn on/off, for example, to all the lights on the floor. I think it is because when the lights change state, it has to enter the script several times and it becomes saturated.

How can i fix it? Or what is the reason for it to saturate so quickly?

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Saturate CPU - by mai - 28.05.2024, 07:03
RE: Saturate CPU - by Daniel - 28.05.2024, 07:28
RE: Saturate CPU - by mai - 28.05.2024, 07:43
RE: Saturate CPU - by admin - 28.05.2024, 08:17

Forum Jump: