smann Posted July 9 Posted July 9 Hi I reworked the code to have 10 inputs and 2 outputs but now the desired sampling rate ( Error 24: Invalid sampling rate.) I have attached my code and am unsure what sampling rate will work I have tried 60,100,10 neither work. a_in_scan_file_2416_Rev2_reworkedbysmann.py metalhouse 1
0 Fausto Posted July 12 Posted July 12 Hello @smann. Your code configures the analog input channel types for four voltage channels and six thermocouple channels, with data rates of 3750 S/s and 60 S/s respectively. Since thermocouples are used, the USB-2416-4AO defaults the A/D data rate to 60 S/s. Referencing Table 19 on page 35 in the user's guide, 10 analog input channels have a throughput rate of 5.78 Hz per channel. Adjust your analog input sample rate in your code to 5 or less. Do you still get Error 24? Regards, Fausto
Question
smann
Hi I reworked the code to have 10 inputs and 2 outputs but now the desired sampling rate ( Error 24: Invalid sampling rate.)
I have attached my code and am unsure what sampling rate will work I have tried 60,100,10 neither work.
a_in_scan_file_2416_Rev2_reworkedbysmann.py
1 answer 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