LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Storage and processing of large volumes of data

Dear all

I currently need to store the data in FGV for subsequent use. The data per array in FGV is 900,000, and the reading and writing speed of FGV is too slow. May I ask how to optimize or do you have any better Suggestions?

0 Kudos
Message 1 of 21
(1,578 Views)

A picture of a VI doesn't  help us help you.  Certainly not one that doesn't even show the file writing part of the code.

 

Please attach an actual VI.  Perhaps even a data file.

 

When you say "too slow", how slow is it?    How fast do you want it to be?

0 Kudos
Message 2 of 21
(1,571 Views)

It is inefficient to place connected terminals inside structures. they belong on the toplevel diagram (details). You could also use feedback nodes, eliminating the FOR loop.

 

Is debugging disabled and front panel of the FGV closed when you test?

 

What else is going on? What other parts of the code access the FGV and how often? How is it used? How do you determine performance? What's in the other cases? We can't really debug pictures!

0 Kudos
Message 3 of 21
(1,565 Views)

Each array has a data size of 900,000, and the time it takes to write and read is between the 30-50s, so hopefully it can read and write faster

0 Kudos
Message 4 of 21
(1,560 Views)

Just call this FGV in another VI and turn off the debug and FGV front panel while using. Since each array has data of 90000000, FGV reads and writes are slow

0 Kudos
Message 5 of 21
(1,554 Views)

@daisy_11 wrote:

 Since each array has data of 90000000, FGV reads and writes are slow


Did you just add two more zeroes to that number??? (that would require 64bit LabVIEW!)

0 Kudos
Message 6 of 21
(1,531 Views)

In my testing, reading 3x 900k data from the FGV takes less than 10ms. 

 

(Why do you even need the init state?)

0 Kudos
Message 7 of 21
(1,522 Views)
Init is to make sure that the data is up to date The data should be 3X90000000. I typed it wrong the first time
0 Kudos
Message 8 of 21
(1,499 Views)

The data should be 90000000. I typed it wrong the first time

0 Kudos
Message 9 of 21
(1,496 Views)

That's a lot of data!!! (>2GB per data copy!) Do you have LabVIEW 64bit? How much RAM do you have? What speed would seem reasonable to you?

 

This is only the "storage". What kind of "processing" are you planning to do?

What does the data represent and why do you need to handle it all at once?

Maybe a FGV is not the ideal tool here.

0 Kudos
Message 10 of 21
(1,491 Views)