CSV Periodically Data Logging in FlexLogger

Updated Feb 1, 2023

Reported In

Software

  • FlexLogger

Issue Details

I want to log data periodically on a Comma Separated Value file format (CSV) using FlexLogger, I see an option for the Technical Data Management System file format (TDMS) logging. Is there any alternative for CSV logging?

Solution

Periodic data logging in a CSV format in FlexLogger can be achieved by enabling the Export automatically to CSV file format when logging completes feature under TDMS logging section in the Logging Specification tab as illustrated by the image below.



You may adjust the value of the CSV file data rate accordingly to suit your application requirement. The image above shows a CSV file data rate value of 100Hz which is equivalent to data logging every 100 milliseconds.
 
 

Additional Information

Periodic data logging in FlexLogger is achieved by extracting data from the generated TDMS file to a CSV file. Therefore, two files (TDMS file and CSV file) will be generated at the end of the test where the CSV file consists of the data based on the configured CSV file data rate. The CSV file will only be generated after the TDMS file finished its recording.

The maximum time interval for periodic data logging in FlexLogger depends on the minimum value allowed for the CSV file data rate. Since the minimum value for the CSV file data rate is 0.005Hz, the maximum time interval allowed for periodic data logging would be 3.33 minutes.