vkane Posted June 28 Share Posted June 28 (edited) I am trying to get measurements from my DAQ as fast as possible. I am tyring to do that with a_in_scan(). But a_in_scan() does not agree with a_in_32() or v_in(). Am I using a_in_scan wrong? How do I get data at the kHz logging speed? fast_way.py old_way.py Edited June 28 by vkane Link to comment Share on other sites More sharing options...
1 DAQman Posted July 2 Share Posted July 2 When read with a_in_scan, the channels return simultaneous readings. Unlike other DAQs, it does not use multiplexer chips to feed the channels to one A/D. Instead, each channel has a dedicated A/D controlled by a single scan clock common to all four channels. Link to comment Share on other sites More sharing options...
1 DAQman Posted June 28 Share Posted June 28 There are three versions in the USB-2404 series: the -UI version you have and the -10 and -60. Only the -10 and -60 can reach kHz speeds, while the -UI version maxes out at 100 Hz. Link to comment Share on other sites More sharing options...
1 DAQman Posted July 1 Share Posted July 1 The values should be the same. Could you run a test and collect 10 values one second apart using a_in_32? Could you do the same with a_in_scan and post the voltages? Set the input channel to voltage and connect terminals 4 & 5 together. When I do the same, I get values like 0.0000 and 0.0001 from both methods. Link to comment Share on other sites More sharing options...
0 vkane Posted June 28 Author Share Posted June 28 21 minutes ago, JRys said: There are three versions in the USB-2404 series: the -UI version you have and the -10 and -60. Only the -10 and -60 can reach kHz speeds, while the -UI version maxes out at 100 Hz. Why does a_in_scan report different values than a_in_32? Link to comment Share on other sites More sharing options...
0 vkane Posted July 2 Author Share Posted July 2 Hello, By slowing down the rate to 2Hz, I was able to get a_in_scan working. However, the documentation states that the USB-2404-ui is capable of taking simulations measurements. However, there appears to be a delay between the channel measurements. I tried daq_in_scan but got an incompatible board error. Thank you for your help, Vinnie Link to comment Share on other sites More sharing options...
0 vkane Posted July 2 Author Share Posted July 2 Great! Thank you so much for your help! Link to comment Share on other sites More sharing options...
0 vkane Posted July 2 Author Share Posted July 2 One last question, how does high resolution mode work? Link to comment Share on other sites More sharing options...
0 DAQman Posted July 2 Share Posted July 2 High-resolution mode is for when you have an odd scan rate that usually is not achievable with an integer. In this mode, the scan rate is specified in milliseconds, so 100000 is 100 S/s. Link to comment Share on other sites More sharing options...
Question
vkane
I am trying to get measurements from my DAQ as fast as possible. I am tyring to do that with a_in_scan(). But a_in_scan() does not agree with a_in_32() or v_in().
Am I using a_in_scan wrong? How do I get data at the kHz logging speed?
fast_way.py
old_way.py
Edited by vkaneLink to comment
Share on other sites
8 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