How to have both lights start to fade at the same time?


#1

HI everyone, new here and really love the program. I am still getting use to everything so please bear with me :smile:

I am trying to get light 2 and light one to fade to zero starting at the same time, but only if light 1 or light 2 are on first. I have turned on trace and see that it will fade light 2 first than go to light 1. How do I correct this so that they will both fade at the same time? Thanks for all the help!


#2

If you don’t want to change the structure then make the first action asynchronous


#3

How about putting Light 1 and Light 2 into both WITH statements.
Isn’t that what you are trying to do?


#4

Thanks c1arkbar, that worked, its not perfect 100% at the same time but close enough!


#5

You could also combine the statements as mentioned by @bobbles This should start the actions at the same time. Lots of ways to do the same thing


#6

So i started with putting both bulbs in the same with statement, the problem is that I do not know how to say that only control bulb 1 or 2 if bulb 1 or 2 are already on. What issue issue I was running into was that if bulb 1 was on and 2 was not when the piston is triggered it would turn bulb 2 on. Im trying to get just the bulb either 1 or 2 or both if they are already on to fade out, if either one is already off I dont want anything to happen to that bulb. Thanks again for all the pointers!


#7

Ok a lot of times I see those restrictions and assume people just threw them on there trying to accomplish their goals. Definitely keep them split and use asynchronous.


#8

Will do, thanks again, worked fine last night, no delay!