12-15-2013 08:53 PM
I want to be able to switch the value from a boolean control, using property nodes, so that if the time elapsed is equal to 0,1 ,2 ,3 s, it should be false and if the time is equal o.5,1.5,2.5 s, the value should be true.
Can some one tell me how to do this with propert nodes or with any other method?
Thanks in advance!
12-15-2013 09:13 PM - edited 12-15-2013 09:14 PM
Why property nodes? Local variables are probably preferred.
You probably should define time intervals for true and false (e.g. false from 0..0.5s, true from 0.5..1s, etc.)
What have you tried so far? A simple while loop with a loop time of 500 ms and a shift register with a boolean that gets inverted with every iteration is probably all you need. You also should probably make the boolean an indicator, since it is not controlled by the operator. Now you don't need local variables or value properties at all. 😉
12-15-2013 10:45 PM