# The code implements a trigger-based laser alternation using Moku:Go, where a falling edge on the camera's fire pulse initiates alternation between OutputA and OutputB. The process involves setting Trigger, OutputA, and OutputB to 0 or LO\_LVL after a certa

**URL:** <https://forum.liquidinstruments.com/t/the-code-implements-a-trigger-based-laser-alternation-using-moku-go-where-a-falling-edge-on-the-cameras-fire-pulse-initiates-alternation-between-outputa-and-outputb-the-process-involves-setting-trigger-outputa-and-outputb-to-0-or-lo-lvl-after-a-certa/892>\
**Category:** Moku Cloud Compile\
**Created:** [January 31, 2024, 3:58pm UTC](https://forum.liquidinstruments.com/t/the-code-implements-a-trigger-based-laser-alternation-using-moku-go-where-a-falling-edge-on-the-cameras-fire-pulse-initiates-alternation-between-outputa-and-outputb-the-process-involves-setting-trigger-outputa-and-outputb-to-0-or-lo-lvl-after-a-certa/892 "2024-01-31T15:58:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![roflo](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roflo](https://forum.liquidinstruments.com/u/roflo)\
**Post date:** [January 31, 2024, 7:32pm UTC](https://forum.liquidinstruments.com/t/the-code-implements-a-trigger-based-laser-alternation-using-moku-go-where-a-falling-edge-on-the-cameras-fire-pulse-initiates-alternation-between-outputa-and-outputb-the-process-involves-setting-trigger-outputa-and-outputb-to-0-or-lo-lvl-after-a-certa/892/4 "2024-01-31T19:32:44Z")

</div>

Here the linke to my simular question.

> [@Signal Reset \<= '1' if Input A signal is constant for one second](https://forum.liquidinstruments.com/t/signal-reset-1-if-input-a-signal-is-constant-for-one-second/888/7):
>
> Hi hanklong, It is good to know. But the problem I have remains. Maybe it is an understanding problem on my side when I run a Clk process. 1.) clk is the internal clock of the Moku Go box right? If this is the case then the individual processes are run in MHz frequency or ? so it should be possible to count the number of times in which the signal in Inputs 0 can be used as an If Else condition? Best roflo

---

_[View the full topic](https://forum.liquidinstruments.com/t/the-code-implements-a-trigger-based-laser-alternation-using-moku-go-where-a-falling-edge-on-the-cameras-fire-pulse-initiates-alternation-between-outputa-and-outputb-the-process-involves-setting-trigger-outputa-and-outputb-to-0-or-lo-lvl-after-a-certa/892)._
