05-06-2010 01:11 AM
Hello
Please look the Vi attatched to this post.
If you look at the button of the block diagram, i made a counter from a LabVIEW example. It count everytime i push a button, and write the data to a file. If i set the time delay to 1 minute, and log the data form 1 minute, then the program does not clear the data from the last minute. so if i push the button 10 times for the first minute, and push the button 2 times for the 2. minute, then the total number of sampels for the 2. minute will be 12! instead for 2.
Please help me!
05-06-2010 02:30 AM
HI Mike,
First you try to make the Data as array and check what are the values your counter is counting....For that you just bring the output from the read counter (change the timeout to 0) out of the while loop(enable the indexing) and place an indicator..
Thanks and regards,
srikrishnaNF
05-06-2010 04:28 AM