Jump to content
  • 0

MCC 172 basic task example: reading 5000 samples @1000Hz, both channels, saving data to file


floordoc

Question

We are totally new the DAQhat. We are working though the learning curve. We have installed the Github library. We ran finite_scan.py. We have an MCC172 installed at board 0. We can tell that the system is reading data. However, we are learning the python syntax for the daqhat. 

I am looking for a simple example that records both channels at a given frequency (ex would be 1000 hz) and for a given time (example 5 seconds), and stores those readings into a python variable or array. 

I did not jump straight to a form post. My technician and I spent about 2 hrs searching documentation and the library looking for something similar to this, or how to do this. Any guidance would be appreciated. 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...