RE: Consut in spanish.

2004-04-14 Thread Michael Aivaliotis
 I am writing a program in which access to different 
 screens through different options. The screen change is done 
 through state-machines, closing the origin VI and opening the 
 VI at which I enter. The problem ins on the screen changes, 
 there is an intermediate state of flickering and many times 
 it is visible in the Windows desktop.  The question is: How 
 it is possible to eliminate such flickering?

 Is it possible that the origin VI stays visible until 
 the arrival Vi finishes opening itself?

Yes, this is possible. You can put code in the origin VI that checks if the arrival VI 
has opened it's panel. Once the arrival VI
panel is open then you can exit the origin VI. You have to use the property- 
FrontPanelWindow.Open? Of the VI Class.

Michael Aivaliotis





RE: Consut in spanish

2004-04-14 Thread Rolf Kalbermatter
Daniel wrote:
I am sorry bu this question have to be made in Spanish. If somebody can
read it but cannot answer it in Spanish does not matter, I will take the
answer in whatever language is provided.
I am writing a program in which access to different screens through
different options. The screen change is done through state-machines, closing
the origin VI and opening the VI at which I enter. The problem ins on the
screen changes, there is an intermediate state of flickering and many times
it is visible in the Windows desktop.
 The question is: How it is possible to eliminate such flickering? In
another words, Is it possible that the origin VI stays visible until the
arrival Vi finishes opening itself?

There will be always some sort of flickering, I think. However to avoid that
there is no window for a moment, you will have to get LabVIEW to do what you
want by ensuring your program behaves accordingly.

I usually let each VI open its front panel itself. The caller then Opens the
VI reference, runs the VI and waits in a loop with a reasonable timeout for
the subVI to have its front panel Open property to get true. Once that happened
I continue with closing the callers front panel.

Rolf Kalbermatter
CIT Engineering Nederland BVtel: +31 (070) 415 9190
Treubstraat 7H  fax: +31 (070) 415 9191
2288 EG Rijswijkhttp://www.citengineering.com
Netherlands mailto:[EMAIL PROTECTED]
 




RE: Consut in spanish.

2004-04-14 Thread Paul F. Sullivan
Diego wrote that Daniel wrote:

I am writing a program in which access to different screens through
different options. The screen change is done through state-machines, closing
the origin VI and opening the VI at which I enter. The problem ins on the
screen changes, there is an intermediate state of flickering and many times
it is visible in the Windows desktop.
 The question is: How it is possible to eliminate such flickering? In
another words, Is it possible that the origin VI stays visible until the
arrival Vi finishes opening itself?
In your case, since a master program opens the new VI and closes the 
old one, the simplest fix would be for the master to open the new VI 
first, wait until its panel is open (checked using VI server), and 
then close the original VI.

If there were no master program running, the same thing could be 
accomplished by having the original pass a reference to the second VI 
or have the second derive a reference to its caller and setting the 
second to close the original once it is fully open itself.

--
EnWirementally,
Paul F. Sullivan


SULLutions  (781)769-6869
when a single discipline is not enough
	visit http://www.SULLutions.com






Consut in spanish.

2004-04-13 Thread Daniel Alejandro Moyano
Lo siento, pero a esta consulta necesito hacerla en español. Si alguien la
interpreta pero no puede contestarla en español, no importa, la aceptaré en
el idioma que sea.

Estoy realizando un programa en el que es posible  acceder a distintas
pantallas, a través de opciones de selección. El cambio de pantallas lo
realizo a través del uso de máquinas de estado, cerrando el VI del cual
parto y abriendo el VI al cual ingreso. El problema es que en los cambios de
pantalla, se produce un estado intermedio que genera uns sensación de
parpadeo y en muchas ocaciones este parpadeo es lo suficientemente
importante como para que se vea el fondo de pantalla del Escritorio de
Windows. La pregunta es: de qué manera es posible eliminar este parpadeo. En
otras palabras, es posible que la pantalla del VI de partida, permanezca
visible hasta que se termine de abrir la pantalla del VI de llegada?

Daniel Moyano





RE: Consut in spanish.

2004-04-13 Thread Castro, Diego
Puedes hacer todos los VI de los estados donde corres como no visibles o
tambien pues hacer el tamaño minimo posible.
 La otra opcion es la que describes precisamenet, manten la interface
visible y haz que el Nuevo estado cierre el anterior cuando ya haya sido
abierto.

Pienso que es mas sencillo que mantengas solo una pantalla maestro y
cambiens el estado de la misma en un solo VI visible, de esta manera
eliminas todo el problema que describes.

Daniel wrote:
I am sorry bu this question have to be made in Spanish. If somebody can
read it but cannot answer it in Spanish does not matter, I will take the
answer in whatever language is provided.
I am writing a program in which access to different screens through
different options. The screen change is done through state-machines, closing
the origin VI and opening the VI at which I enter. The problem ins on the
screen changes, there is an intermediate state of flickering and many times
it is visible in the Windows desktop.
 The question is: How it is possible to eliminate such flickering? In
another words, Is it possible that the origin VI stays visible until the
arrival Vi finishes opening itself?

Sorry for the translation.
DC

-Original Message-
From: Daniel Alejandro Moyano [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 7:34 PM
To: Info-LabVIEW Mailing List
Subject: Consut in spanish.

Lo siento, pero a esta consulta necesito hacerla en español. Si alguien la
interpreta pero no puede contestarla en español, no importa, la aceptaré en
el idioma que sea.

Estoy realizando un programa en el que es posible  acceder a distintas
pantallas, a través de opciones de selección. El cambio de pantallas lo
realizo a través del uso de máquinas de estado, cerrando el VI del cual
parto y abriendo el VI al cual ingreso. El problema es que en los cambios de
pantalla, se produce un estado intermedio que genera uns sensación de
parpadeo y en muchas ocaciones este parpadeo es lo suficientemente
importante como para que se vea el fondo de pantalla del Escritorio de
Windows. La pregunta es: de qué manera es posible eliminar este parpadeo. En
otras palabras, es posible que la pantalla del VI de partida, permanezca
visible hasta que se termine de abrir la pantalla del VI de llegada?

Daniel Moyano