Hello, I am trying to acquire information from the analogue channel and I have already configured the trigger from a digital pin to start the data acquisition, now I am trying to finish the data acquisition through the next trigger. As much as I search, I can't find much information on this subject. I have tried dwf.FDwfDigitalInStatus(hdwf, out sts2) to stop the acquisition, but it counts infinitely and without stopping even though I get the pulses every 2 or 3 seconds. Can anyone help me?
This is the configuration I am using
and this is the main loop