Skip navigation

Community

Currently Being Moderated

Parsing a Large File in LabVIEW

VERSION 9  Click to view document history
Created on: Feb 16, 2009 7:32 PM by John_P1 - Last Modified:  Feb 11, 2013 12:30 PM by ColdenR

Overview

Trying to parse large files all at once will often result in the dreaded LabVIEW Memory is Full error.  This example demonstrates one way that a file can be broken down into smaller subsets to avoid using up all of LabVIEW's available memory.  For more information about other ways you can reduce the amount of memory used, refer to the Developer Zone Article Managing Large Data Sets in LabVIEW.

 

Description

The attached example shows how one can break down a large file into smaller subsets for parsing.  This example specifically deals with Binary files of I16 data, but the concept can be applied to any large files.  In this example, the user has a file of IQ data written in the form I0, Q0, I1, Q1, I2, Q2, I3... etc.  Running the code will result in seperate files of data for I and Q.

ParseIQ.PNG

Steps to Implement

1. Specify the input and output paths of your files via the front panel

2. Click the run arrow in the upper left-hand corner


Requirements

LabVIEW 8.5

Attachments:
Comments (2)