LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub vi performance

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?

 

0 Kudos
Message 1 of 3
(2,334 Views)

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?)

 

 

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

Dera sir

             Thanks For your response,Attachment File has been modified.

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