LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Write To Measurement File??

 

 

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!

0 Kudos
Message 1 of 3
(2,438 Views)

 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

Regards,
Srikrishna


0 Kudos
Message 2 of 3
(2,423 Views)
Hello, the indicator don't count when i do that - or may i do somthing wrong, because i haven't used labview before.
0 Kudos
Message 3 of 3
(2,407 Views)