Hello I am new to labview. My subvi has a progress bar (Indicator) and i want it to be also displayed in my Main VI. Is there any process to do this.
I am very new to lab view so step by step procedures are appreciated.
Thank you in advance.
I have put together an example for you. Control references work well in this situation, but there are many ways of communicating between running VI's, dont misuse control references by passing large ammounts of data. This is what Queues, Notifiers, User Events andDVR's (to name a few) are for. I think a progress bar is a great use case of control references.
the easiest way to pass data in and out of a (sub)-VI is using the connector pane.
When you create a (sub)-VI, you can choose a pattern and select which control or indicator (frontpanel elements) belongs to which terminal.
The way Michael has supposed is more advanced an a very common way to change values of frontpanel elements of a main VI.
There is no wrong way, it depends on the application. So thanks to Michael.
For the first steps, I would suggest using the connector panel.
I've attached a modified example.
Applications Engineer | NI Germany