Charlie2134 Posted August 17, 2023 Posted August 17, 2023 Hello, i am trying to store the analog input data for further analysis. I know this should be very easy but i am a noob at programming. how can i modify the a_in_scan.py function a little bit to store the data into a file? thanks in advance.
0 DAQman Posted August 18, 2023 Posted August 18, 2023 I recommend reviewing the Python for Windows example called a_in_scan_file.py. https://github.com/mccdaq/mcculw/blob/master/examples/console/a_in_scan_file.py Pay attention to the additional scan option ScaledData. It instructs the API to return floating point numbers instead of counts from the A/D converter.
0 Charlie2134 Posted August 18, 2023 Author Posted August 18, 2023 8 hours ago, JRys said: I recommend reviewing the Python for Windows example called a_in_scan_file.py. https://github.com/mccdaq/mcculw/blob/master/examples/console/a_in_scan_file.py Pay attention to the additional scan option ScaledData. It instructs the API to return floating point numbers instead of counts from the A/D converter. Thank you! I am using python for Linux but it should be similar.
Question
Charlie2134
Hello, i am trying to store the analog input data for further analysis. I know this should be very easy but i am a noob at programming. how can i modify the a_in_scan.py function a little bit to store the data into a file?
thanks in advance.
2 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