Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69264

LabVIEW speed when reading in large binary file

$
0
0

I am writing a program that reads in large binary data files and processes the data. I have written the code for reading the binary file in and it works. The problem I am running into is that the program takes ~15 seconds to read the data in (88672 Rows). A co-worker wrote a routine (Not in LabVIEW) and it reads the file in ~0.25 Seconds. 

 

 

I don't come from a computer programming background so my question is this. Am I doing something fundamentally wrong handling the data in LabVIEW, or is there something else in LabVIEW that is causing it to run so much slower?

 

I have attached a PNG of the VI that I am using to read in the file. I cannot attach the binary file I am reading in as it is proprietary. The file contains an ASCII header (281 Bytes), and then there are 88672 rows of 16 bit signed integers. Each row contains 32 values, but I only keep 12 values and delete the rest. 

 

 

Thanks for any help!


Viewing all articles
Browse latest Browse all 69264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>