LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

debugging the code

I made an application with a big data array of 2 MB text with LV 8.2.1 version.
To analyze, the array was performed with some mathematical functions.
(I use the array function (from LV and Open-G) and graphical plotting so many times to extract and manipulate the data.)
 
But, as time goes on, I found the speed of the computer was very slow just after open the array.
 
Is "LabVIEW Execution Trace Tool" the commercial toolkit?
 
Would you recommend how to debug my code in my current situation?
I want to upgrade the speed after analyzing the main and SubVIs.
 
(I'm so sorry I can't post my application code.)
 


메시지가 08-03-2008 09:10 PM에 labmaster에 의해 편집되었음
0 Kudos
Message 1 of 3
(2,443 Views)
The execution trace toolkit is only for LabVIEW RT, it wont do anything for plain LabVIEW. Just use profiling, monitor memory use, and show buffer allocations.
 

labmaster wrote:
 
(I use the array function (from LV and Open-G) and graphical plotting so many times to extract and manipulate the data.)

Are you constantly creating new data buffers in memory? Are you constantly changing the array sizes? (built array, insert into array, delete from array). Do you use local variables with your large arrays? Do you have uninitilized shift registers containing arrays of variable size?
 
Even if you cannot attach your program, could you still be a bit more specific:
  1. What is the datatype of your array?
  2. What is the number of elements in your array (2MB of "text" is not very informative).
  3. What kind of operations do you do on the array?
 
Message 2 of 3
(2,425 Views)

Dear altenbach,

I would like to contact you via email.

Would you please write an email to me at poyntor AT yahoo.com?

0 Kudos
Message 3 of 3
(2,392 Views)