Overview
This VI is an expansion of the example niScope EX Multi Record Fetch More Than Available Memory.vi which includes the streaming to disk function and implements a Producer/Consumer architecture.
Description
This example takes the NI-SCOPE example niScope EX Multi Record Fetch More Than Available Memory VI and adds streaming to disk with TDMS. The use of a Producer/Consumer architecture ensures that all disk operations will not prevent the constant fetching of data from the digitizer. All of the Scope Acquisition is performed in the Producer loop while the data is written to a binary TDMS file in the consumer loop.
Requirements
Software:
- Labview 2012 (or compatible)
- NI-Scope driver which is compatible with your hardware and version of LabVIEW
Hardware:
Steps to Implement or Execute Code
1. Select the name of your scope digitizer
2. Run the VI
3. Select the address of TDMS file in the file dialog window
4. After Number of Records Fetched meets Number of Record, click 'Stop'
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**