LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Program is running but I cant see the UIR file while the program is Running

Hi Guys,
    I am having the problem while Running the Program.
 
             My Program is running successfully without any run time errors but when the Program is running the User Interface file(.uir) is fully minimized and I cant Maximize it for its control.
             I don't know what might be the possible error in the program
 
Thanks in advance
 
regards,
Balaji
  
0 Kudos
Message 1 of 2
(2,945 Views)

The UIR file is like the source files for your panels that make up your user interface.  The UIR file itself isn't displayed while the program is running.  One or more panels in the UIR file are displayed under programmatic control.

The standard way to show part of your user interface is to LoadPanel, DisplayPanel, and RunUserInterface.  For example

 if ((panelHandle = LoadPanel (0, "MyUIR.uir", PANEL)) < 0)
  return -1;
 DisplayPanel (panelHandle);
 RunUserInterface ();

 

In the UIR Editor, you can edit the panel properties to allow (or prohibit) the panel being maximized or minimized.  The default is to allow both.

0 Kudos
Message 2 of 2
(2,924 Views)