| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi everybody, In my application i have some indicators and a graph and i want to display each one in its own window. I found a methode using a sub VI it have some problems. Can someone help me please. :smileyindifferent: |
|
#2
| |||
| |||
| Hi Basile21, where do you have problems? What have you done so far? Can you upload the code?You can use the "Open VI reference" function and open it with an invoke node. You can use it in a loop. Hope it helps.Mike |
|
#3
| |||
| |||
| Hi Mike81, thanks for your help here are my VI and my sub VI Simulation_L F_2_sans eve 4.vi: http://forums.ni.com/attachments/ni/...1/Simulation_L F_2_sans eve 4.vi Simulation_L F_2_sans eve 2_sousVI.vi: http://forums.ni.com/attachments/ni/...2/Simulation_L F_2_sans eve 2_sousVI.vi |
|
#4
| |||
| |||
| Hi Basile21, which problems do you have? If you want that both vi´s run parallel, then use the "Open Vi Reference" function before your while loop and only show the subvi if you press the button. Use the property FP->open to show it. Mike |
|
#5
| |||
| |||
| Hi MikeS81, My aim is to run the principal VI so I will have all my indicators in one window, then when I'll press the button " AFFICHER LES COURBES " I want to have a second window where there is only the graph. |
|
#6
| |||
| |||
| Hi Basile21, ok, but if the graph vi is visible both shall run in parallel, right? I recommend to get the reference of the sub vi at the beginning and start it with the invoke node. Then you can use a queue to send commands to it. May be to plot the data or to show or hide the window. Hope it helps.Mike |
|
#7
| |||
| |||
| Hi MikeS81, I tried but no results, so you can understand me better if you looke to the attached file. Knowing that you can take any VI like a sub VI because the aim is just to open this sub VI in an other window. Sans titre 3.vi: http://forums.ni.com/attachments/ni/170/339140/1/Sans titre 3.vi |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.