11-27-2012 01:51 AM
hello again, i have a problem with my listbox...
i have a huge txt to read and put in a multicolumn listbox...my program works correctly, but it needs too much time to put all my data in my listbox...labview seems to crash 😞
after reading i manipulate my data (problem is not manipulating, i checked) in string form...after all i use "spreadsheet string to array" (i found that it works faster than use my data in an array form from the beginning)
do you have some usefull opinion to make my program faster?
thanks
11-27-2012 02:26 AM
Can you post your code or a screenshot? And how huge is your data?
11-27-2012 02:27 AM
i prefer send it by mail if it's not a problem for you 🙂
11-27-2012 02:50 AM
What about a screenshot? I'm not willing to accept an email.
11-27-2012 02:53 AM
There are a number of ways to slow a program down, while loops taking over (need a small delay in, multiple nested for loops....) it would be very helpful if you could post a screenshot at least so we can give an accurate diagnosis at the moment we can guess but likely to be wrong. Anything that you can post will make diagnosis much quicker for you
11-27-2012 02:55 AM - edited 11-27-2012 02:56 AM
And can you give us an idea of how much data you are putting in the listbox? Components that display data to the user were never intended to hold "huge" amounts of data. Think of your poor users. Besides, that alone will slow your program down.
11-27-2012 02:56 AM
i can't here sorry...1-there are many cases and subVIs, 2-it's for my job, maybe someone disagree 😛
11-27-2012 02:58 AM
I agree with not posting the entire code, but presumably you can post a screenshot of the suspect snippet
11-27-2012 02:58 AM
I understand if it's proprietary. In that case we can't do much unless you can post an example that isn't proprietary but duplicates your issue.
11-27-2012 03:03 AM
i have about 16000 rows (4 columns)....
i manipulate my data to have 3 different output, 1 for labview output in listbox, 1for file (just a string, so it's fast), another one for labview again (only 1 column, in a table...it's fast)..my only problem is to have a fast listbox
someone that accept that i send it via email please pm me his email address 🙂