Jump to content

Findus

Members
  • Posts

    2
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2011
  • Since
    2004

Findus's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Big thanks! I use the recommended function "read from textfile" and use seting read lines. Works great! I have miss this function. Thanks to drjdpowell, ok I will let the compiler to worry about internal memory instead of I worry. Now the function read the file in a few seconds instead of min. Big thanks to all.
  2. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.