LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help w/ speed up parsing of spreadsheet string

Any ideas on how to make the attached vi any faster?  I have included an example of the input file as well as the two sub vi's.  Any thoughts will be greatly appreciated.

Cheers!
Download All
0 Kudos
Message 1 of 35
(3,379 Views)
Hi jmcbee,
 
Do they have to be done seperately? Are there restrictions to doing it in one function?
Unfortunately, I couldn't open your vi's, which are in LV8.5 (I don't have it installed on this PC)..
Can you post an image of the code or in LV8.2? 
 
Or if it's ok to combine into one, I could prepare an example..
0 Kudos
Message 2 of 35
(3,365 Views)
The logfile is attached....
0 Kudos
Message 3 of 35
(3,364 Views)

Can you save the vi's as LV8.2?  I'll be able to look at it and use your log file..

🙂

0 Kudos
Message 4 of 35
(3,358 Views)
The sub vi's do not have to be sub vi's, I will try and get some 8.2.1 up for you.  Thanks!
0 Kudos
Message 5 of 35
(3,357 Views)
Attached are the 8.2 versions.  Thanks in advance!!
Download All
0 Kudos
Message 6 of 35
(3,354 Views)
If you use the built-in Search and Replace String function, it will work much, much faster than your subVI.
Message 7 of 35
(3,349 Views)
In place of the Search and Split String.vi ?
0 Kudos
Message 8 of 35
(3,347 Views)
Thank you for the reply Dennis,

Could you explain why it will be faster?  I will be a better programmer for it!

Cheers!
0 Kudos
Message 9 of 35
(3,347 Views)
Because it doesn't require you to do all of that string concantanation which can be enormous performance hit on long strings where memory allocation has to keep taking place. Just try it and see for yourself.
Message 10 of 35
(3,333 Views)