Popups

QWAdmin Help Files

What are Popups?

 

There are two main components that make up Popups.  First there is the P-popup variable itself and second there is the Popup Selection file which the P-popup variable makes use of.  The P-popup variable asks you the question and the Popup Selection file provides you with the list of available answers or questions.

 

A P-popup variable can be a single question with one list of selections or it can be a number of dependant questions, maximum 9, with different selections for each question.  The number of questions or levels you select for a P-popup variable is determined when the Popup Selection File (file extensions QPT,QPD,QPI) is created.  Each level in a Popup Selection file has one "Popup Level" associated with it to a maximum of 9.  This means up to 9 dependant questions can be asked in one P-popup variable.

 

A Popup Selection File is made up of two parts.  First there is the Question to Ask fields.  Each Question to Ask, maximum 9, is made up of a two digit field, 01-99.  The number of Question to Ask indicates a level or number of dependant questions in the Popup Selection File.  The Question to Ask field is used by QW to sort and select data.

 

Second, are the Popup Fields fields, maximum 9 per Popup Selection File.  The Popup Fields hold the descriptive information related to the Question to Ask.  It is with this information that you tell QW what to display to make selections from, at the P-popup variable prompt.

 

In short, Popup Levels are used by QW to indicate levels and to select and sort data. Popup Fields are the items you get to pick from to supply the answer to the question asked by the P-popup variable prompt. 

 

Popups are collections of related data that are used throughout QW to provide lists of available selections.  

 

Popups are used in P-popup type variables to display lists of available selections for a variable.  

 

Popups are used by L-lookup type variables to display Popup Field information based on a key value supplied.

 

To create a new popup click Create New Popup

 

To edit an existing popup click the popup in the list of available popups found in the currently selected folder. The Popup Data View screen will be displayed.

 

There are two types of Popup files:

 

Single Level Popups

A single level Popup Selection File is used to display a simple selection list to choose from.  The following Team Popup variable is an example of a single level Popup variable.  A two digit Popup Level is followed by one Popup Field.

 

10 - A Team

20 - B Team

30 - C Team

40 - D Team

 

From this type of Popup Selection file the user selects the Team by pointing to the Popup Field information and pressing <Enter>.  Once the <Enter> key is pressed the user is moved to the next field in the Add or Edit screen.

 

Multi-level Popups

A multi-level Popup Selection File is one which has a number of levels or related lists of selections associated with it.  The selection you make from the first level controls what you see at the second level and what you select on the second level controls what you see on the third level and so on up to a maximum of 9 levels.

 

A Multi-level Popup example

 

In this example we will create the number of levels or dependent selection lists necessary to fully record a failure in a machine downtime application.

 

The first step is to separate the machine into major Areas.

 

10 - Mixers

20 - Injectors  

30 - Conveyors

40 - Oven

99 - Other

 

The next step is to break down all the possible Reasons for downtime for each of the major components listed above.  

 

Lets use 30 - Conveyors

10 - Electrical

20 - Mechanical

30 - Operational

40 - Control Systems

99 - Other     

 

You would define reasons for each of the remaining major components.

 

Once the major Areas and Reasons have be defined we are ready to define all the Causes for each Reason in each Area combination.

 

Let use 30 - Conveyors

10 - Electrical

10 - Power Failure - source

20 - Power Failure - breaker

30 - Main Motor Failure

40 - Secondary Motor Failure

99   Other

 

The process would be repeated for each defined Area, Reason and Cause combination.

 

What we have just created is a multi-level (3) model of what a user would be prompted for when trying to classify a downtime event.  

 

At the first level the user is prompted to identify the Area where the event occurred.

 

10 - Mixers

20 - Injectors  

30 - Conveyors

Selecting  30 - Conveyors, we are prompted for the Reasons that pertain to 30 - Conveyors,. remembering that these are dependent selection lists.

 

From the list of Reasons for 30 - Conveyor, we select 

          10 - Electrical and a list of Causes for the combination of 30 - Conveyor and 10 - Electrical are displayed.

        10 - Power Failure - source

             20 - Power Failure - breaker

             30 - Main Motor Failure

             40 - Secondary Motor Failure

             99   Other

      20 - Mechanical

      30 - Operational

      40 - Control Systems

40 - Oven

99 - Other

 

Now we have fully described the cause of the downtime event by selecting from the information that was presented.

 

Why a multi-level popup instead of two or three single level Popups?

 

Using a multi-level Popup will help to focus the users attention and avoid viewing unnecessary selections.  Let’s use our Downtime Causes Example - Area/Reason/Cause.  Once the Area has been picked from the first screen only those Reasons that pertain to that Area are displayed on the next screen. 

 

This is the same for Cause, once the Reason has been selected - only Causes for that Area and Reason are displayed.

 

 If three single level popups had been used then each popup would have to have contained all  possible reasons and causes for all areas.  This would make selecting the reasons and causes a slower process because there would be more to read.  It would also allow for impossible selections to be made - Conveyor / Electrical / Bent Shaft.

 

How can a bent shaft be an electrical problem ?

 

99's

Popup level 99's are treated different than levels 01 through 98 in that they allow the user to enter information when one is encounterd.

 

It is suggested that a 99 be added as the last entry for each popup level.