LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Code Optimisation

Hi,

Can anybody help to optimize the code in attachment. Please find detailed info in VI

Thanks in advance. 


Regards

Vargeesh

0 Kudos
Message 1 of 5
(2,697 Views)

Hello Vargeesh,

You have developed a very good code as if you are a CLD, all you need to do is to take care of wire bends in the code and rest other things are proper.


CLD Using LabVIEW since 2013
Message 2 of 5
(2,642 Views)

You can use sub-diagram label visible and make comment of particular case instead of hovering comment for case structure.

 

CLD
Message 3 of 5
(2,633 Views)

Hi,

 

Thanks for the reply. The intention for the question is how can I optimise the developed logic to perform the same without making rube Goldberg code.

0 Kudos
Message 4 of 5
(2,625 Views)

It looks good.

 

One minor thing you could do is where you index out the 0th item of the string array.  You can get rid of the zero constant since the Index Array will default to bringing out that first element when it the index input is unwired.

0 Kudos
Message 5 of 5
(2,605 Views)