Jump to content
  • 0

Issues with USB-CTR04 python example code provided


YoelGee

Question

Hello I am currently trying to get frequency reading using one of the counter channels on the CTR04. To help me get started I a using the c_in.py executable to read the pulse count/ frequency. For some reason at 1MHz I am getting the readings bellow where there is a small discrepancy. Is this expected with the device and its python compatibility? When I try to record the frequency on DAQami I get a perfect reading of 1MHz but not on python as seen bellow.

image.png.f98b6c11be964c6fddf4327fc16dbe40.png

 

Edited by YoelGee
Fixed previous issue
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @YoelGee.

The mcculw Python example, c_in.py, reads events from a counter.  From your screen capture, it appears that you have modified the example.  Please attach your example along with the code to review.

Additionally, please reply with a screen capture from your DAQami results as well.

Regards,

Fausto

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...