LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am writing to a spreadsheet file, however, i have

included a delay in it, inorder to aquire less data,however, it does delay the displaying, but, still writes as many values as before to the file. How can i get only n values to be written, or every n - seconds ,and how do i read as many values too. Thanx?
0 Kudos
Message 1 of 2
(2,479 Views)
included a delay in it, inorder to aquire less data,however, it does delay the displaying, but, still writes as many values as before to the file. How can i get only n values to be written, or every n - seconds ,and how do i read as many values too. Thanx?Place your write vi inside a case structure, and put some kind of condition to execute it. For example, if you want to aquire data every 10 loops, divide the iteration counter (i) by 10 using quotient and reminder, and check if reminder is equal to zero or not. Wire this to the case structure, and you'll get data only every ten loops.
Hope this helps
Message 2 of 2
(2,479 Views)