12-13-2012 10:18 AM
No.. I mean that this part below, is for zero pointing da Y-data at the (time = 0) and then making the other data's relative to it. I want that options, so i can't get rid of that.
12-13-2012 10:39 AM
No you don't have to its my wrong guess and the shift register is not affecting the data. Can you try replacing the write to text file with a write to spreadsheet and Enable appending?
12-13-2012 11:22 AM
Hi P@Anand
Unfortunaly, i get the same problem with this procedure 😞
12-13-2012 11:34 AM
Hi Oesen.
It looks like you are probably a little unclear about the DAQmx assistant to get one sample every second you would want to read 1 sample at a sample rate of 1 not 2000 samples at a 2000 hz rate try changing those constants and see if that helps a little![]()
12-13-2012 11:52 AM
Hi Jeff
When i do that procedure, i get 539 measurements every second:
12-13-2012 11:55 AM
12-13-2012 12:02 PM
Thanks for the answer P@Anand
It doesn't make any difference 🙂
12-13-2012 12:08 PM
Post your VI so we can see how the DAQ Assistant is set up.
Did you set it for N samples or continuous samples? I'm guessing you set it for N when you should have set it for Continuous.
12-13-2012 12:13 PM
Yes of course. Here is my VI.
It was already on continuous samples mode
12-13-2012 12:24 PM
Your VI shows 2000 samples at 2000 Hz with conitnuous acquisition, but the earlier picture shows 1 sample at 1 Hz.
I don't see why you'd be getting 500+ samples with the it defined at 1 sample at 1 Hz. It doesn't make sense. The DAQ assistant should be throttling the loop speed with having continuous sample set.
You could try not using the DAQ assistant and set it up using the lower level DAQmx functions.