stever Posted June 3, 2019 Share Posted June 3, 2019 Using Digital Discovery I need to use python code to simultaneously generate an output on four pins and capture data on two pins. How can I set up the triggering for this ? I tried the examples but the counter output runs for much longer than the sampling period. It also captures data with different starting values of the counter, presumably due to different software delays running the code. Regards stever Link to comment Share on other sites More sharing options...
attila Posted June 3, 2019 Share Posted June 3, 2019 Hi @stever See the reply in your previous thread: Link to comment Share on other sites More sharing options...
stever Posted June 3, 2019 Author Share Posted June 3, 2019 Hi Attila, I don't find that example in my SDK version 3.9.1 I tried downloading the latest from the website but get a database error message Link to comment Share on other sites More sharing options...
attila Posted June 3, 2019 Share Posted June 3, 2019 Hi @stever I have created the mentioned example only now, specially for you. You have the file in the post, click on the file name link to download it. The software download is down for the moment but here you have direct links if you need it: Link to comment Share on other sites More sharing options...
stever Posted June 4, 2019 Author Share Posted June 4, 2019 Hi Attila, Thanks for the custom example - works for me. I now need to record the data but the file is all zeros. I tried the DigitalIn_Record.py and that also gives a file with all zeros and a straight line zero plot even though the counter does output. What am I missing please ? Regards stever Link to comment Share on other sites More sharing options...
Question
stever
Using Digital Discovery I need to use python code to simultaneously generate an output on four pins and capture data on two pins.
How can I set up the triggering for this ?
I tried the examples but the counter output runs for much longer than the sampling period.
It also captures data with different starting values of the counter, presumably due to different software delays running the code.
Regards
stever
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.