03-11-2014 05:46 AM - edited 03-11-2014 05:49 AM
Hi abhinandan,
please change your subVI "Partial product" like this:
No need for local variabels - or even more worse "value" property nodes!
You need to learn about using AUTOINDEXING!
- Why do you use "Wait (ms)" instead of "Get Time"?
- Remove local variables, especially those used to update the indicator. They all take processing time…
03-11-2014 05:57 AM
I have made that change.
the code looks more professional now
thank you
![]()
But this does not seem to solve the problem of execution speed.
Did you get better results with the suggested changes ?
the main vi still takes more than a minute for a larger input array
![]()
I am pretty sure that the sub vi was not the problem
![]()
03-11-2014 06:28 AM
Hi,
I'm pretty sure the subVI was part of the problem: using "value" property nodes is way more slow than working directly with data using shift registers or autoindexing…
You need to cleanup your mainVI too: remove locals, use indexing, ...