Lou Williams Posted February 9 Share Posted February 9 I'm trying to trigger the start of a digital pattern with an external digital signal. I'm not sure why the attached code is not working. Ext_Trig_Pattern.py Link to comment Share on other sites More sharing options...
0 JColvin Posted February 9 Share Posted February 9 Hi @Lou Williams, Your code seems to be working fine for me with no changes when I supply a rising edge signal to DIO 0, or at least a pattern starts dutifully running continuously on DIO 6 and 7. What about it is not working? Is the pattern just not starting from the external rising edge or? Thanks, JColvin Link to comment Share on other sites More sharing options...
0 Lou Williams Posted February 12 Author Share Posted February 12 (edited) The pattern is just not starting when I provide a rising edge externally (from a second AD2). BTW, my DWF version is 3.16.3 if that makes a difference, and the device I am using is an Analog Discovery 2 Edited February 12 by Lou Williams Link to comment Share on other sites More sharing options...
0 Lou Williams Posted February 13 Author Share Posted February 13 NVM. Operator error. My script is now working. Link to comment Share on other sites More sharing options...
Question
Lou Williams
I'm trying to trigger the start of a digital pattern with an external digital signal. I'm not sure why the attached code is not working.
Ext_Trig_Pattern.py
Link to comment
Share on other sites
3 answers to this question
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