Hi, currently I am using Python Moku API to operate logic analyzer in my Moku go device. In the project I would like to set one of the digital pins (let say pin1) as input pin. Whenever there is a trigger signal from an external source to pin1, I would like to send out two trigger signals from another two pins (let say pin2 and pin3) at the same time to my another two instruments, so that these two instruments can receive these two signals and be set to on at the same time. Is there any features in the logical analyzer which allows me to do this? So far I use get_data in a while loop to keep checking if the pin1 has an input signal (1 or 0) from the external source, if yes, then I set the pin2 and pin3 on by using set_pins (set override =‘H’); if not, then set them off using set_pins as well (set override =‘L’). This solution does not work quite well, because it takes time to use get_data and check if i receive any signal from pin1 (we want to know if the input signal exists more or less the same time as it is sent out from the external source). In addition, it seems like if i use set_pins to send the outout signals from moku go (set override either to H or L), the signals are sent out sequentially (so pin2 first and then pin3, or the other way around). But we want the signals sent out at the same time to these two instruments.
Thanks for the great help in advance and hope to get some input from this! Thanks!