10-12-2009 12:56 AM
Dear Friends, I would like to know
Will there be a performance issue, If I use 2D Array instead of 1D array. Because I'm working in a time critical issue.
And I would like to know How to optimize the time, in case of LabView. Is there any guide lines, If so, can you provide some guideline/Link
Thank you,
Best Regards,
Rathan
10-12-2009 04:26 AM
In general, no. Your application will be alot more affected by what you do in your loop, how much/which way the data is transferred and so on. If the array causes performance issues it's faster to create the array outside the loop and replace elements than have it build the array.
Basically build your loop through threads and shift registers instead of local variables, it's alot faster.
Else, show us what you've got and you can get more specific input.
/Y
10-12-2009 06:48 AM
The more data moved around each iteration the slower your code will work. Remember that each local, global, indicator requires its own copy of data. Another trick is to turn of debugging options. This may also help speed up your code.
Unless you post your code it is hard to give you more pointers
10-12-2009 08:20 AM
rathan wrote:Dear Friends, I would like to know
Will there be a performance issue,...If so, can you provide some guideline/Link
Thank you,
Best Regards,
Rathan
This Tag cloud is for LabVIEW Perfomance realted threads. Most all performance related issues are covered by that collection.
Have fun!
Ben
10-12-2009 08:22 AM