Synchronize Video and Measurement Data With FlexLogger TDMS Viewer

Updated Nov 17, 2022

Environment

Software

  • FlexLogger

This article goes through the steps on how to synchronize measurement data from a TDMS file with a video using the FlexLogger TDMS Viewer. In this case, an example is shown of how to synchronize a video from a sawstopper system with a 2D axis graph that contains current measurement data.

1. Open the TDMS or TDM file with the FlexLogger TDMS Viewer. You can do this by right-clicking the file and selecting Open with >> FlexLogger. 

2. Once you have loaded the data into the Data Portal, create and set a new display area and create a graph. Right-click on the panel and select New Area >> Top to create a new area. Right-click on the created area and select Display Type >> 2D Axis System.
 
Create graph.png

3. Drag and drop the data from the channel that you want the video to be synchronized with into the 2D axis system display area.

4. In order to synchronize the video with the measurement data, you need to set the graph's time axis to relative. You can do this by right-clicking the 2D and selecting Settings... or by double clicking on the graph display area, this will open the settings window. In this window change the time axis to Relative and click OK.
 
relative time.png
 
5. Create a new display area to show the video. Right-click on the panel and select New Area >> Right. Right-click on the new area on the right and select Display Type >> Video. This will open a window where you need to select the video file by clicking on the three dots (...). This will open the file browser and you need to select the video that you want to load.

6. Once you have selected the video file go to the Synchronization tab and check that the Frame rate and Start time are correct.
 
Video synchronization.png

7. Click on Cursor Synchronization... and select the cursor you want to synchronize with, in this case, it will be the X-Cursor.
cursor synchronization.png

8. If the video is not correctly synchronized, check if the start time of the video is correct and matches with the measurement data time axis and modify it as appropriate.