Jump to content
  • 0

Simultaneous output and input


stever

Question

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...