No_85_Gramps Posted February 6, 2021 Posted February 6, 2021 (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 February 6, 2021 by No_85_Gramps
JG7_X-Man Posted February 6, 2021 Posted February 6, 2021 (edited) Maybe a counter? Or Deactivate MCU (i.e. fire once and deactivate)? Edited February 6, 2021 by JG7_X-Man 1
No_85_Gramps Posted February 6, 2021 Author Posted February 6, 2021 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!
JimTM Posted February 6, 2021 Posted February 6, 2021 (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 February 6, 2021 by JimTM 1
No_85_Gramps Posted February 6, 2021 Author Posted February 6, 2021 Thanks JimTM! More than one way to skin a cat, or work with the FME.
JimTM Posted February 6, 2021 Posted February 6, 2021 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. 1 1
Gambit21 Posted February 7, 2021 Posted February 7, 2021 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. 1 1
No_85_Gramps Posted February 7, 2021 Author Posted February 7, 2021 I'll keep that in mind Gambit, thank you.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now