Jump to content

Recommended Posts

Posted (edited)

I've searched around, on the forums, and in the FME manual, for a solution to a problem I am encountering. I have a convoy that gets trigger activated when either one of two conditions are met. Once it triggers the first time how do I prevent if from firing again? It's probably something simple I'm missing, maybe just a brain-cramp on my part.

(edit)

I think I've found a way to accomplish what I am trying to do, but I would like to hear what everyone else thinks. Thanks.

 

 

Edited by No_85_Gramps
Posted (edited)

Maybe a counter? Or Deactivate MCU (i.e. fire once and deactivate)?

 

Edited by JG7_X-Man
  • Upvote 1
Posted

I don't think you can deactivate an activate trigger, although I haven't tried that. The counter idea is probably the right answer. Counter set to 1, linked to trigger activate, only gets triggered one time. Thanks JG7_X-Man!

Posted (edited)

Here's another way, but the counter is simpler. The 0-second timer triggers the activate trigger and the deactivate trigger. Then the deactivate trigger deactivates the timer, preventing the activate trigger from being triggered again.

 

-------> 0s timer -------> <------- deactivate trigger

                  |

                  |

          activate trigger -------> Convoy leader

Edited by JimTM
  • Upvote 1
Posted

Thanks JimTM! More than one way to skin a cat, or work with the FME.

Posted

Yes indeed. My first thought was the deactivate timer trick (used as a gate in many situations), but in this case, the counter is a good choice.

  • Like 1
  • Upvote 1
Posted
4 hours ago, No_85_Gramps said:

Thanks JimTM! More than one way to skin a cat, or work with the FME.

 

Yep

Note the 0 sec timer, or ‘node’ as I label them in my work - they come in very handy.

 Among other things, I use them to facilitate a non-destructive workflow -   connecting different sections, or ‘thoughts’ in my logic. That way I can delete/change my mind about how things are arranged very easily since I have that node connector to simply delete; thus severing the circuit.

  • Like 1
  • Upvote 1
Posted

I'll keep that in mind Gambit, thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...