05-14-2012 02:08 AM
How to improvement sub vi performance?
Run vi One times need time is A,
Run vi Two times need time is A+A
Run vi Parallel need time is A+A
How to improvement sub vi performance?
05-14-2012 02:48 AM - edited 05-14-2012 02:50 AM
Your innermost VIs ( both say "cut vertical" on the icon) have a parallel FOR loop, meaning they are already using multiple CPU cores, even if running only a single instance. In addition, you are already calling each instance several times in parallel.
How many cores does your CPU have?
I would recommend not using a parallel FOR loop in a VI that is called several times in parallel. Parallelization should always occur in the outermost layer of the code if possible.
(Sorry, I cannot really analyze much, because there are several missing VIs and all your filenames are pure gibberish on my US version OS. Why do you have all these duplicate VIs? Why not make them reentrant instead?)
05-14-2012 11:03 PM
Dera sir
Thanks For your response,Attachment File has been modified.