Thank you for your reply. Icreated sub-VI, there was problem with conneting wire subvi doesn't take local variable for consideration.
Can you please explain the problem you mention becasuse as my main VI updating simulateneously suv-VI also updating.