Stream and Read TDMS Image File in LabVIEW

Updated Sep 28, 2023

Environment

Software

  • LabVIEW

Driver

  • NI-IMAQdx

NI Vision Acquisition Software (VAS) enables the LabVIEW user to acquire, display, and save images from a range of industry-standard camera interfaces including GigE Vision, USB3 Vision, and Camera Link. 

There are various file types that we can save the image, this tutorial will show you how to stream and read TDMS file format images in LabVIEW.
 

  1. Open the LabVIEW example by following the steps in this link, search for Stream to TDMS Files VI to capture the images in TDMS file format. 
2022-11-14_17h31_04.png
  1. In the example, select your Camera Name and Run the VI to capture the TDMS image, make sure to remember the destination folder of the TDMS file.
2022-11-14_17h32_21.png
  1. Open the LabVIEW example again, search for Read Images from File VI to read the TDMS image file that have been captured.
2022-11-14_17h48_23.png
  1. In the example, select the File Path of the TDMS file and set Image Type to RGB Color (U32). After that, Run the VI and the images you have captured before will be displayed. 
2022-11-14_17h36_45.png