How to Log Data Periodically in FlexLogger?

Updated May 18, 2020

Reported In

Software

  • FlexLogger

Issue Details

How can I log sensor data every 30 seconds by using FlexLogger?

Solution

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



You may adjust the value of CSV file data rate accordingly to suit your application requirement. Image above showing CSV file data rate value of 100Hz which equivalent to data logging of every 100 milliseconds.
 

Additional Information

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