01-29-2025 06:11 AM
Hi guys:
I am using NI 6001 to measure the volts of batteries. I config the time loop as following pic.
When I start the experiment, everything is fine, the loop running 1 time per second.
at same time I am writing the volts data to a .xlsx file.
but after a week I checked .xlsx file, every 2-3 minutes, there is a new volts value can be write in this file (I added the timestamp when I configured the write to measurement file).
so, is this loop iteration increased by the writing .xlsx procedure? Or other reasons?
Kind Regards
RichKnight
01-29-2025 06:29 AM
Hi Rich,
@RichKnight wrote:
I am using NI 6001 to measure the volts of batteries. I config the time loop as following pic.
so, is this loop iteration increased by the writing .xlsx procedure? Or other reasons?
01-29-2025 06:44 AM
Hi GerdW:
USB -6001 AI settings as follow pic.
The reason why I would like to use xlsx format is TDMS file can not be opened standard MS excel. I will ask IT if I can install the converter to convert the tdms to xlsx
You can check part of my labview code.
Sorry I just start to use the NI device and Labview, so I deployed a loop for read, write and processing some logics.
Kind Regards,
RichKnight.
01-29-2025 07:02 AM - edited 01-29-2025 07:09 AM
Hi Rich,
@RichKnight wrote:
USB -6001 AI settings as follow pic.
Just "slow" 100Hz sampling rate…
Why do you use the DAQAssistent when DAQmx is very easy to use? (Read this, but skip the first chapter.)
@RichKnight wrote:
The reason why I would like to use xlsx format is TDMS file can not be opened standard MS excel. I will ask IT if I can install the converter to convert the tdms to xlsx
Write the data to a CSV file! Much more easy, much less CPU-demanding!
Suggestion: