Homepage | About EASA | Contact
Estimated completion time → 60 minutes.
In this practical session, you will:
At the end of this session, your EASAP will look like the sample shown below.
Please follow the instructions below to complete this practical session. Detailed information on the objects created in this session can be found on the Author's Pages.
The first task is to create a new EASAP within EASA.
In the New Application wizard, set some properties in PROPERTIES→APPLICATION for our EASAP:
You can control which Categories (rather like folders) in which your EASAP be will accessible for Users.
Note: Optionally, you can select an Image such as plate.gif, included with this tutorial, and a brief description such as:
Both the image and the description will be visible to a User once you Publish the EASAP.
An Author uses the EASAP Builder to create an EASA application without writing any code.
The Builder interface consists of a Tree of EASAP objects on the left and their parameters on the right.
In this tutorial we will build a fully functioning application by applying iterations of EASA's simple design process:
There will be no coding involved.
Next, we’ll upload the files required by the EASAP. When uploaded, these files are copied from your computer to the EASA Server and stored in the development folder for the EASAP. This folder contains the single, centralized definition of the EASAP, which once published will be used by all users of the EASAP.
The files will be added to the list of current files shown below the 'Browse' and 'Upload' buttons.
Now let's save our work:
The Save button is enabled only when you have unsaved changes; after a Save the button will be disabled or grayed out until the next edit.
You are now ready to proceed with adding data entry objects to the user interface of your EASAP.
Click on its ().
Now you will start to add data entry objects to the user interface of your EASAP. On this TABBED PANE you will allow users to choose a plate material and specify its dimensions.
Parameter Name | Parameter Value |
---|---|
Default: | 1.0 |
Label: | Width (ft) |
Input Type: | Number |
Decimal Places: | 2 |
Parameter Name | Parameter Value |
---|---|
Allow: | Decimal |
Ignore Blank: | TRUE |
Data: | Between |
Minimum: | 0.1 |
Maximum: | 50 |
Create two more INPUTBOX's:
A new INPUTBOX should appear on the Tree.
Parameter Name | Parameter Value |
---|---|
Minimum: | 0.2* input_W |
Maximum: | 5* input_W |
Parameter Name | Parameter Value |
---|---|
Minimum: | 0.001*(input_W+input_L)/2 |
Maximum: | 0.125*(input_W+input_L) |
Note: Object names are case sensitive; note the lower case ‘t’ above. By convention, an Author uses lowercase names for objects, while capitalized or ALL CAPS are used for built-in objects in the Tree as well as object types (ie. class names).
At this point, you will need to perform some data processing before adding any more data entry objects.
In the Builder there are two main data object types:
Once a LIST or SCALAR is created, a SCALAR reference or a LIST reference may be entered as a parameter value.
The Builder aids an Author by showing:
Now let's add unit conversion to our INPUTBOX values:
Parameter Name | Parameter Value |
---|---|
Value: | input_W[ft] |
Unit Group: | Length |
Parameter Name | Parameter Value |
---|---|
Value: | input_L[ft] |
Unit Group: | Length |
Parameter Name | Parameter Value |
---|---|
Value: | input_t[in] |
Unit Group: | Length |
Now we extract material property data out of the material.txt file to be used when a User selects the plate material.
First create an EXTRACT within the material_data branch:
To help in the creation of the Extract, Find, and Repeat objects there is a Extract Tool available on the right click menu.
The following window appears:
From here you will set up a repeating find to pull out the desired data.
Now we set up a repeating find to pull out the desired data.
The Set Repeat Parameters window opens.
Now we add functionality for the User to select the plate material.
Parameter Name | Parameter Value |
---|---|
Default: | Steel |
Label: | Select material |
Tool Tip: | Select plate material from list |
Input Type: | Text |
Parameter Name | Parameter Value |
---|---|
Allow: | List |
Source: | %matname% |
At this point, you will need to perform some additional data processing to complete this TABBED PANE. We will use a MAP to store and retrieve the modulus of elasticity for each choice of material.
Parameter Name | Parameter Value |
---|---|
Value: | mat |
Inputs: | %matname% |
Outputs: | %Ein% |
Create a similar MAP for the material’s Poisson ratio.
Parameter Name | Parameter Value |
---|---|
Outputs: | %muin% |
Now we are ready to display the physical property values of the selected material.
Parameter Name | Parameter Value |
---|---|
Default: | modulus |
Label: | Modulus of Elasticity [ksi] |
Input Type: | Number |
Enable if: | false |
Parameter Name | Parameter Value |
---|---|
Default: | poisson |
Label: | Poisson Ratio |
Input Type: | Number |
Enable if: | false |
Decimal Places: | 3 |
Now we will add an EVENT PROCESSING to ensure that showE and showMu cannot be altered.
Parameter Name | Parameter Value |
---|---|
Object: | showE |
Value: | modulus |
Parameter Name | Parameter Value |
---|---|
Object: | showMu |
Value: | poisson |
Check your work. At this point, the EASAP Tree should look like this:
After clicking on the Test Web Browser button (), the EASAP should look like this:
You can also check on the material selection functionality by selecting different materials and observing the property values change
Parameter Name | Parameter Value |
---|---|
Tab: | 2. Edge Support Conditions |
On this second TABBED PANE you will create data entry objects to allow users to specify the support conditions for each of the plate’s four edges.
Parameter Name | Parameter Value |
---|---|
Label: | Minimum Support Requirements |
Text: | The edge supports must contain at least one Fixed edge or two Pinned edges. |
Height: | 60, pixel |
A TEXTAREA is used here to show a message. A LABEL could also be used.
Note: The Spell checker does not check all parameters. It checks a predefined subset of all the parameters whose values might be visible to a user.
Parameter Name | Parameter Value |
---|---|
Choices: | Free, Pinned, Fixed |
Default: | Free |
Label: | Bottom edge |
Select Mode: | SINGLE SELECT RADIO BUTTON |
Orientation: | HORIZONTAL |
Tool Tip: | Set support condition for this edge |
Three new SUB PANES will appear.
Now create an error check to make sure a User does not submit a case in which the plate is not properly supported.
Parameter Name | Parameter Value |
---|---|
Title: | Edge Support Error |
Error Message: | Plate not properly supported. The edge supports must contain at least one Fixed edge or two Pinned edges. |
Type: | ERROR_MESSAGE |
Show if: | (bottom!="Fixed"&&top!="Fixed"&&left!="Fixed"&&right!="Fixed")&&!(bottom=="Pinned"&&top=="Pinned")&&!(left=="Pinned"&&right=="Pinned") |
Note: The expression in the Show if: parameter checks whether one of the four edges has been set equal to 2, or Fixed, or whether any two edges have been set equal to 1, or Pinned. The above text must be typed, cut and paste from the tutorial will fail.
At this point the EASAP Tree should look like this:
After clicking on the Test Web Browser button (), the second TABBED PANE should look like this:
The reason you may get a number within parentheses after your EASAP title is that EASA automatically adds this number to keep the title unique. Therefore, if another EASAP already exists with the name ‘Rectangular Plate’ then the number will be added to your EASAP’s title
Congratulations. You have finished Practical Session 1.