Search the Community
Showing results for tags 'trigger signal'.
-
I need to capture a pulse (High to low), which stays for appx 600us, then goes back high. I need to capture for a given interval of time, the no. of pulses triggered. time interval maybe : 1ms, 1 s, 5s etc. Been using the DigitalIn_PulseTrigger.py & DigitalIn_trigger.py, but couldn't understand if it is behaving as expected: -------------- while True: dwf.FDwfDigitalInStatus(hdwf, c_int(1), byref(sts)) print("Status:", str(sts.value)) if sts.value == 2 : # done break ------------ Not sure about the value to be compared here, as for 1 sec or for 5 sec, i am seeing the break in appx same time here. => Also tried with AnalogIn_sample.py but i think it is not able to detect the drop in voltage for such short duration. Any help will be appreciated. Thanks, Rohit
- 7 replies
-
- analogdiscovery2
- pulse
-
(and 1 more)
Tagged with:
-
Hi, I'm using the Waveform SDK with Python and I'm not able to get the DD to start the pattern output with a digital input as trigger. I have tried to look into the different examples in the SDK, but none of them seem to fit this exact use case. Use case: Preparation: Generate a pattern Run time: Get a rising edge on a specified I/O pin (e.g. DIO-25) Wait an amount of time using FDwfDigitalOutWaitSet Play pattern on a specified I/O pin (e.g. DIO-24) Do you have a code snippet which fits this use case? Best, Hakon.
- 10 replies
-
- pattern generator
- trigger
- (and 3 more)