04-19-2013 12:44 PM
Hi everyone,
First I apologize for the basic level of my questions, I am very new with Labview...
I am reading counts off of a USB-6008 labview chip using the DAQ assistant and I write the output to a file. The problem is that instead of giving me the number of counts for each iteration it gives me the sum of it all. How do I make the DAQ assistant reset to 0 counts on every iteration? I tried using a shift register but it just adds a counter to my file and nothing else...
Thanks a lot
Solved! Go to Solution.
04-22-2013 11:45 AM
Hi Peluche,
You can programatically reset to zero by saving what the count was at the last read and subtracting that amount off each time you read. I wrote an example VI that does this. The top shift register is just being used to model the counter.
I hope this helps.
04-22-2013 12:35 PM
Hi Tim,
Thanks so much for your answer. Unfortunately the vi you sent me isnt compatible with my version of labview (2010). Could you make it compatible please?
Thanks again!
04-23-2013 03:20 PM
Sure thing. Sorry about that.
04-27-2013 12:49 PM
Hi Tim,
I would like to thank you again for your code. I tested it then adapted it to my needs and it solved my problem.
Thanks again!!
04-29-2013 10:34 PM
No problem Peluche.
I'm really glad I could help.