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

LabVIEW Memory Allocation

$
0
0

Hey,

 

Is it possible to allocate predefined RAM Memory and accumulate data's into it?

 

Before going in to detail – I am currently looking to write the inspection results in database for statistical analysis. I hope it will always consume some time to write it in database for each component / iteration. So decided to accumulate all the data in memory and write it at one shot.

 

In detail, user has to inputs the memory size via front panel control. Let us assume for writing 1 row of string information occupies “XX” bytes. (Not yet sure how to calculate memory size of 1D string array of 10 elements (max of 20 character in each string)). Dividing the user input memory size with 1 row of memory size will give how many rows we can write at maximum say “N”.
Use the for loop with “N” iteration and accumulates the 1D info to 2D array of information (auto indexing) and write it in Database at one shot.

 

Any help or direction may helps a lot. 

 

Waiting for the reply :smileyhappy:


Viewing all articles
Browse latest Browse all 66852

Trending Articles