07-20-2022 09:14 AM - edited 07-20-2022 09:16 AM
Well I have never used any of the Express VI's except for Time Delay so I am just guessing here but...
The Help for Write To Measurement File Express VI mentions writing data iteratively (like you are) and suggests setting the Flush to False (it defaults to True) until you are done.
Also this might be a stretch but I notice the logging stops at line 367001. Does it always stop there?
I wonder if this is a limitation of the Express VI's Excel file capability.
I remember back in the day Excel files were limited in number of rows that Excel could open.
Frankly it's time to ditch the Express VI's, IMHO: Express VI's were made specifically for those three hour LabVIEW programming seminars sales pitches. To show managers and other non-programmers how fast you can just throw something together... But they are too limited to be used in any actual applications.
07-25-2022 02:29 AM
Thank you for your answer
I am currently using the DAC Assist Logging TAB to record to a TDMS file, so I did ditch the Express VI.
So now I see readings going to line 1048576 (about 3 hours worth of data) But this is Excel's limit I think.
So I need to open a new TDMS automatically when this point is reached. We need 24 hours of recordings.
Marinus
07-25-2022 02:38 AM - edited 07-25-2022 02:47 AM
Hi Marinuss,
@Marinuss wrote:
I am currently using the DAC Assist Logging TAB to record to a TDMS file, so I did ditch the Express VI.
So now I see readings going to line 1048576 (about 3 hours worth of data) But this is Excel's limit I think.
I guess you use the DAQAssistent to create your TDMS file.
Yes, those 2^20 rows is the Excel limit: there might be more rows in the datafile, but Excel cannot show them…
@Marinuss wrote:
So I need to open a new TDMS automatically when this point is reached. We need 24 hours of recordings.
This is the wrong conclusion: you need to use a different tool than Excel for data analysis!
The DAQAssistent will create your 24h TDMS files, even though I recommend to ditch it and use plain DAQmx functions instead.
But: when you want to create new TDMS files for the same DAQmx task run: this will not work! The TDMS filename is defined before you start the task, so to define a new filepath you need to stop and restart the task…
Suggestion: