Plotting TDMS Data in XY Mode

Updated Jul 4, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have data in a TDMS file organized in two different channels, and I would like to view them in XY mode.
Unfortunately it is not possible to solve with the TDMS File Viewer function, since it can plot the two channels exclusively as two separate simple graphs in the function of time or index.

Solution

The best approach to this problem is to break it down to basic steps:
  1. Read the two channels out of the TDMS file using the TDMS Read function.
  2. Construct a cluster out of the two resulting arrays with the Bundle function.
  3. Wire the resulting cluster to an XY Graph.
Figure 1: Plotting TDMS Data in XY Mode
 
This way the two channels stored in a TDMS file will be plotted in XY mode.