From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-07-2007 06:10 PM
05-07-2007 10:44 PM
Your bottom while loop doesn't appear to save anything at all and certainly none of the data in thw acquisition loop. The top loop saves only when you click the stop button and then it will only save the results of the last acquisition. There are numerous other problems with the bottom loop so I would recomend you delete it entirely. If you want to save periodically, you need to put the file write function inside the acquisition loop or pass the data to a second loop with something like a queue.
How much data do you want in each spreadsheet file. Do you want that time limited before you increment the file name or do want to do that based on how many records you write?
05-08-2007 02:13 PM
05-08-2007 03:21 PM
05-08-2007 08:20 PM
05-08-2007 08:30 PM
05-08-2007 08:52 PM