open tow windows in same time

This is a discussion on open tow windows in same time within the labview forums in Programming Languages category; 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:...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-09-2008, 09:10 AM
Basile21
Guest
 
Default open tow windows in same time

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:
Reply With Quote
  #2  
Old 07-09-2008, 09:10 AM
MikeS81
Guest
 
Default Re: open tow windows in same time

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
Reply With Quote
  #3  
Old 07-09-2008, 09:40 AM
Basile21
Guest
 
Default Re : Re: open tow windows in same time

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
Reply With Quote
  #4  
Old 07-09-2008, 09:40 AM
MikeS81
Guest
 
Default Re: Re : Re: open tow windows in same time

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
Reply With Quote
  #5  
Old 07-09-2008, 10:10 AM
Basile21
Guest
 
Default Re : Re: Re : Re: open tow windows in same time

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.
Reply With Quote
  #6  
Old 07-09-2008, 10:40 AM
MikeS81
Guest
 
Default Re: Re : Re: Re : Re: open tow windows in same time

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
Reply With Quote
  #7  
Old 07-09-2008, 11:40 AM
Basile21
Guest
 
Default Re : Re: Re : Re: Re : Re: open tow windows in same time

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
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:49 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.