Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
datrez  
#1 Posted : Thursday, January 07, 2016 6:11:04 PM(UTC)
datrez

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 9/28/2015(UTC)
Posts: 31

Thanks: 1 times
Was thanked: 5 time(s) in 5 post(s)
Hi,
It would be nice to have a Switch that can change the path from two different Activations to one Activation or even do this with text.

Also, if a Timer could have an Activation to determine starting. ex... If Activation attached to input drives from 0.0 to 1.0 then start. I could use this as...on power up do something.

Thanks,
Greg
EmbrioAdmin  
#2 Posted : Thursday, January 07, 2016 7:06:37 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
I'm not sure I understand your first part. You can attach multiple outputs to one input and on the input change the blend mode to add, multiply, or average. Is that what you mean?

For your second one, try the "above or below" or "is in range" nodes on the flow control toolbar. You can attach their output triggers to a timer to do something when an activation goes into a range.
datrez  
#3 Posted : Friday, January 08, 2016 3:20:12 AM(UTC)
datrez

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 9/28/2015(UTC)
Posts: 31

Thanks: 1 times
Was thanked: 5 time(s) in 5 post(s)
Let me try to explain a little better.
Let's say we have two Activations. One has a value of 0.5 coming from a PID loop, and the other has a value of 0.353 coming from a Sensor. I want to choose which value will pass through to the rest of my logic based on third Activation being 0.0 or 1.0. ex...if Timer is outputting 1.0(time has expired) swap from path one to path two.

For the Time, my issue is that the triggers happen once and does not repeat the trigger again. I would like the activation being at 1.0 seen cause The time to activate.
ex.. I have to connect a Trigger with every update to a Trigger when activate to the Timer to perform this action presently.

Hope this helps.
EmbrioAdmin  
#4 Posted : Saturday, January 09, 2016 8:15:10 AM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
You can do both of those things with a few nodes. They might deserve to have their own built in nodes, but also you can combine them into a reusable node group. My philosophy with built in nodes is to provide the basic pieces to build larger structures, and reuse those larger structures with reusable node groups.

Here's how you would do the first situation. Use an above or below node, then blend the outputs of Is Above and Is Below with your two activations using a multiply blend mode, then add the results together.



For the other one, you can use a "Trigger Every Update" node but block the trigger when the control activation is too low with a "Trigger If Active" node.

EmbrioAdmin  
#5 Posted : Saturday, January 09, 2016 8:20:57 AM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Here's an example of how to do the first one with a reusable node group:

datrez  
#6 Posted : Saturday, January 09, 2016 10:17:29 AM(UTC)
datrez

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 9/28/2015(UTC)
Posts: 31

Thanks: 1 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, I am kind of already doing these items...I just was trying to simplify the amount of logic for rather simple logic process. Thanks though.

Actually utilized your Demultiplexer logic by editing it to do what I want with one object.

Thanks,
Greg

Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error