patufet_99 Posted February 16, 2008 Report Share Posted February 16, 2008 Hello, What is the best way to do a slow (less than an acquisition per second) but accurate (on time) acquisition for data logging? I have tried to do it with a timed loop in order to be able to fast stop the loop when required (see LabView 8.5 attached example). This approach works or not depending on the hardware. I tested 3 different DAQ cards with different results. For the two ones that worked, I had to select a different "Sample Clock" sampling mode: DacqCard 6036E: "Hardware Timed single Point" sampling mode USB-6016: "Continuous Sample" sampling mode USB-6009: Did not work By using a simulated device, this approach dit not seem to work neither. How could this be done in such a way to be independent on the hardware? Would there be other ways to do it without timed loops? Thank you for your suggestions. Quote Link to comment
rpursley Posted February 16, 2008 Report Share Posted February 16, 2008 Try the attached example. It uses the event structure to trigger the reads and also allows instant stopping of loop. QUOTE(patufet_99 @ Feb 15 2008, 08:32 AM) Hello, What is the best way to do a slow (less than an acquisition per second) but accurate (on time) acquisition for data logging? I have tried to do it with a timed loop in order to be able to fast stop the loop when required (see LabView 8.5 attached example). This approach works or not depending on the hardware. I tested 3 different DAQ cards with different results. For the two ones that worked, I had to select a different "Sample Clock" sampling mode: DacqCard 6036E: "Hardware Timed single Point" sampling mode USB-6016: "Continuous Sample" sampling mode USB-6009: Did not work By using a simulated device, this approach dit not seem to work neither. How could this be done in such a way to be independent on the hardware? Would there be other ways to do it without timed loops? Thank you for your suggestions. Quote Link to comment
patufet_99 Posted February 16, 2008 Author Report Share Posted February 16, 2008 Hello, Thank you so much for your alternative! It works great! Regards. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.