Hi,
I have a project to bring out data from a log file.
To make it more manageable deeper in the desig I will convert the String to a 1D string array.
To make the function faster and to avoid memory copy I use reference and controller/indicator is made "hade" on front panel to speed up.
But even this the function is painfully slow.
My test file i only 600kB.
The final Array size is 23455 index.
And this is taking about 4 minutes!!!
A sharp file can bee 20-30MB and consist of 500 000 of row or more.
That can I do to speed up?
I have used allocate memory, and calculate no of row neaded and make rooms for 120byte in each index. Only doing this to make ONE allocate and not one allocate on every index I nead to create.
The time is spending on copy into array. The read file, allocate xxxx no of row is quick.
The system is a regular PC, of newer section.
Attach code and an ex logg file.
Labview 2011.
Hope I can get ideas on this.
Best regards.
Support_string_to_array.zip