LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't close PopUp after some operation

I am modifying an application written by someone else  to change connection from Serial Modbus to Ethernet Modbus.  The Serial version can have up to 8 connections, but for the changes I am making, I am limiting it to 1 connection. To make as  little change as possible to slowly integrate the changes that I am making, I kept the  serial parameters in the code even if the are no longer used.

 

In the application,   a panel on top of another one via a InstallPopup call.  (start.png)  Within the panel,   the user selects Add to add an Ethernet connection to  the application.  Once the Add is selected, it checks for  the Ethernet connection and  for a file associated with the connection and when it finds that none exist, opens another FilePopUp panel (FilePopUp.png)  where the user can specify the file.  The user enters the filename and then selects OK. The FilePopUp panel is closed application does some checks, updates the other panel in the background (After.png)

 

In the original serial version, the Exit button when selected closes the panel and then  the panel in the background  (GPA2 Operations) can be operated on.

 

The issue I am having iin my modified version s that the Exit button  becomes unresponsive afterwards. 

 

I know that the application did not crash because  changes to the settings of the device causes an update on the GPA2 operations, although  it is partially hidden by the PopUp. 

 

As far as the application code is concerned, nothing is changed with respect to  the UI.

 

As I understand it,  from the user manual

 

" After a pop-up panel is installed, users can perform operations in La
the pop-up panel.
Only the active pop-up panel can generate events (with the exception
EVENT_PANEL_SIZE, and EVENT_CLOSE events from other panels)"

 

What would cause the  Exit button in the PopUp panel to not work? 

 

 

 

0 Kudos
Message 1 of 2
(847 Views)

Attachments reference in my original post

0 Kudos
Message 2 of 2
(846 Views)