pc-dmis version 4.

1

Reporting Training
Slide 1

Reporting Training
Session 1:
Topics for Tuesday afternoon

a. Forms
b. Reporting from a User Perspective
• Changes to the User Interface
• 1 – Touch Reporting
• Customizing a Report
• HyperReports vs. Templates
c. Lab 1

Slide 2

Reporting Training
Session 2:
Topics for Wednesday morning

a. Examining Standard Report Templates
b. Examining Standard Label Templates
c. Creating a Report Template
d. Lab 2

Slide 3

Reporting Training Session 3: Topics for Wednesday Afternoon a. Report Template Process d. Lab 3 Slide 4 . Additional Topics e. Creating Label Templates c. Creating Report Templates (continued) b.

Fitting the Pieces Together Reports are formatted by Templates • Label • Report Forms interact with the user Slide 5 .

Slide 6 .

7. Forms for Operator Input • In PC-DMIS v3. Forms were part of Hyperview Reporting • Forms has its own Editor now • New Editor has familiar tools that can be used to create dialogs with the operator • Power of Forms is that it can pass data from the user to the part program while providing a nice user interface Forms Slide 7 .

Navigating to the Forms Editor Use the Forms Editor to create dialogs to interface with the operator Slide 8 .

PC-DMIS Forms Editor Familiar toolbar Form Note Background Slide 9 .

Example Form from Tutorial Border ComboBox Object Object Bitmap Object Hidden Text Objects – used Frame to pass data to Object Radiobutton part program Object Text Object Text Object Button Object Slide 10 .

Forms Editor in v4.1 Properties allow tailoring of an object for a specific use Note the ListItems property Slide 11 .

Forms When you click on each item. Help Tutorial -. it Later we will do expands into a Step-by-Step this Tutorial as procedure part of our first lab Slide 12 .

Connecting a form to a part program TXTNUMBER ASSIGN/V1 = " " CS1 =FORM/FILENAME= F:\FORM\INTERACTIVE DIALOG TEST.TEXT=V1 PARAM/= The OK button saves ENDFORM/ and applies the changes and closes the dialog box. Slide 13 .FORM PARAM/TXTNUMBER.

Inserting a Form Slide 14 .

Questions on Forms? Slide 15 .

Slide 16 .

Slide 17 .

Report Window Report Window is now separate from Edit Window Slide 18 .

Slide 19 . With PC-DMIS version 4 the Report and Edit Windows are separate. Report Window Report Window Toolbar Standard windows controls to minimize. restore and close.

7 Version 4 Slide 20 . New Menu for Reporting Version 3.

New Menu for Reporting Version 3.7 Version 4 Access to Template Editors Slide 21 .

7 Version 4 Hyper-Reports can no longer be created starting with v4! Now done in the Report Reflects that Edit Window and Window Report Window have been separated Slide 22 . Edit Window Layout Dialog Version 3.

Slide 23 .

Slide 24 .

RTP • Top half Cad (Cad Object) with labels • Bottom half text (Text object) with labels Slide 25 . Six Standard Reports • TEXTONLY.RTP • Text reporting with labels • Default template unless registry entry specifies another template • CADONLY. RTP • Entire report based on Cad Object with labels • Page orientation is Portrait • TEXTANDCAD.

the entire report based on Cad Object with labels • Page orientation is Landscape • PPAP. RTP • Feature information is presented in the Graphical Analysis chart • CADONLY_LANDSCAPE.RTP. RTP • Like CADONLY. Six Standard Reports • GRAPHICALANALYSIS. RTP • Production Part Approval Process report • Concise tabulated report Slide 26 .

Standard Reports Header 1-Touch Reporting TEXTONLY Feature Also the default report format Dimension Slide 27 .

Standard Reports 1-Touch Reporting CAD TEXTANDCAD Text Note that labels on CAD and Text match # of pages is determined by format and amount Slide 28 of data .

Standard Reports 1-Touch Reporting CADONLY All 5 dimensions shown on one page Slide 29 .

Standard Reports 1-Touch Reporting GRAPHICALANALYSIS Slide 30 .

Touch Reporting CADONLY_LANDSCAPE CADONLY report in Landscape instead of Portrait orientation Slide 31 . Standard Reports 1.

Standard Reports 1-Touch Reporting PPAP Quickly determine acceptance or rejection Slide 32 .

Standard Reports ViewSets are not new What is new is their effect on the Report. Slide 33 .

Standard Reports New page and new CAD view ViewSets allow different CAD views in the Report Slide 34 .

Status Window Status Window shows report for current Slide 35 command .

Slide 36 .

Customizing a Generated Report Can I alter How the report in the Report Doubl Window? e Click? Yes you can! Slide 37 .

Right click on a label to specify what data is to be included in a label 3. Double-click on a CAD label to reposition the label 5. Right click on a CAD image to modify the number of labels per page and the label pattern Slide 38 . Double-click on a CAD image to modify the zoom and orientation of the image 4. Right click in the report to specify what data is to be included in the report 2. 7 Ways to Customize a Report 1.

7 Ways to Customize a Report
6. Right click the GraphicalAnalysis object and
change its properties
7. Double click GraphicalAnalysis object and change
zoom and orientation

Future versions of PC-DMIS will offer
more opportunities to customize the
report right in the Report Window

Slide 39

Customizing a Generated Report
1
Right click
in the report
Was a tab area of a
on the Edit text report,
Window but not on a
Layout label
dialog

Note that you can
get a Text Mode
Dimension Report
Slide 40

Customizing a Generated Report
Text Mode
Dimension
Report

Report when
specified
report template
does not exist

Slide 41

Customizing a Generated Report Features and Alignments Slide 42 .

Customizing a Generated Report 2 Right click on a label Show / hide. re-order named rows and columns Should label be resized when hiding columns? Where changes apply Slide 43 .

Slide 44 . Customizing a Generated Report Double clicking on 3 CAD image activates image and allows you to change orientation and zoom.

Customizing a Generated Report Before & After Slide 45 .

Slide 46 . Customizing a Generated Report 4 Double clicking on CAD label to reposition labels individually.

Customizing a Generated Report Slide 47 .

Customizing a Generated Report Double clicked to Methods reposition labels 3&4 Double clicked to reposition image Slide 48 .

Slide 49 . Customizing a Generated Report 5 Right click CAD image to change # of labels per page.

Customizing a Generated Report 6 Right click the GraphicalAnalysis object and change its properties Slide 50 .

Customizing a Generated Report 7 Double click GraphicalAnalysis object and change zoom and orientation Slide 51 .

Customizing a Generated Report Slide 52 .

Changes made to the report display option Slide 53 . Label placement customizations around a CAD image 3. Table customizations on labels 2. Changes to the rotation or zoom factor of a CAD image 4. Customizing a Generated Report Clear Template Associated Data – Removes the following items used in the current part program with the current selected report template: 1.

Changes to number of labels per page 6. Changes to GraphicalAnalysis properties 7. Customizing a Generated Report Clear Template Associated Data – Removes the following items used in the current part program with the current selected report template: 5. Changes to GraphicalAnalysis zoom and orientation Slide 54 .

Customizing a Generated Report Clear All Template Associated Data – Does the same as “Clear Template Associated Data” but affects all report templates used by the part program Slide 55 .

Customizing a Generated Report Right click Slide 56 .

4. default. which PC-DMIS creates.rtp. TEXTONLY.rtp. default. The report template specified as the default report template in the registry. if it can be found. if one exists. if it can be found. 2. 3. What Template is Used? New part program (order of precedence): 1.RTP. Slide 57 .

2. which PC-DMIS creates. What Template is Used? Existing part program (order of precedence): 1. default.rtp. the report template specified as the default report template in the registry. if one has been established by clicking the "Set as Default Template" button. TEXTONLY. 5. if it can be found. if it can be found. 3. Slide 58 . the default report template for this part program. default. 4. if one exists.rtp.RTP.

Slide 59 .

• This is a difference. • Can not be modified in PC-DMIS version 4. • This is a difference. • This is the same as before. Slide 60 . They must be modified in a previous version. They must be created in a previous version. Hyperview Reports • Can not be created in PC-DMIS version 4. but the editors are similar. • This is a difference. • This is the same as before. It is called the Forms Editor. • You can add a Hyperview Report to a version 4 part program. • You can execute a part program in version 4 that uses a Hyperview Report. • Interactive dialog is now a separate editor in version 4.

Hyperview Reports Slide 61 .

Hyperview Reports As before! Slide 62 .

Hyperview Reports Hyperview Reports have an .rpt extension Report Templates have an .rtp extension Can Insert Hyperview Reports and Report Templates into the Part Program Slide 63 .

Slide 64 .

Slide 65 . Report Window PC-DMIS includes template name in title bar Report Window Toolbar Report Window contents can not be changed.

Report Window Toolbar Save Report Layout Magnification Set Report as Default Full Report Mode Redraw the Print the Saved Report Report Last Execution Report Layouts including Report Mode Standard Report Templates as well Template as the ones you Selection save Dialog Slide 66 .

Template Selection Dialog When you click on the Template Selection Dialog icon you get a list of Report Templates Slide 67 .

Template Selection Dialog Click to add your report template to this list Close Dialog Remove from List Slide 68 .

Template Selection Dialog Image preview directly from template unless Click on template then click specified by user Open to use this template in the Report Window Slide 69 .

Change Previews Can change preview for both report and label templates Slide 70 .

bmp or . Make proportions about 1:1 Slide 71 .jpg file can be used. Change Previews Any .

New PC-DMIS Font • New font • Loaded with PC-DMIS • Provides GD&T symbols ⌥⌧⌨〈〉⌫ ⌫⌫⌫⌸⌡⌢⌣⌤ Slide 72 .

• There is a toolbar attached to the Report Window that allows us to select report templates. • Many navigational items regarding Reporting have not changed. • Report templates allow us to define the format of our report. • One important change is that the Report Window has been separated from the Edit Window. Slide 73 . Review 1 • Forms now have a separate editor. • Templates is a new capability in the PC-DMIS Reporting system.

but there are no tools in version 4 to create or edit a Hyperview Report. Graphical Analysis. CAD Only Landscape and PPAP. • Templates now control the formatting of the report. • There are seven options that allow you to customize the report in Report Window. • We can undo modifications via “Clear (All) Template Associated Data” and “Remove Object Modifications” • A part program can use a Hyperview Report in version 4. Text And CAD.1 ships with six standard report templates – Text Only. CAD Only. Review 1 • PC-DMIS version 4. Slide 74 .

Questions? Slide 75 .

– Align CAD to part. If you do not have a part program with dimensions. In the Help System. Make it a 3D solid. – Construct a circle through these four holes. – Align to front left corner. Lab 1 1. Perform each step as described. measure the four holes that are around the large hole. 2. • Create a part program called “Lab1” to: – Read in the IGES file. You need a part program with dimensions to do this step of the lab. find the “Creating Forms”. – In DCC. You can also use this same part program for the other Labs. Slide 76 . – Report location for these five holes. do something like the following: • Use the Hexagon part and CAD file.

• Output the results to “Lab1TextAndCad. Slide 77 . 4. Create a CADOnly Report • Apply report template CADONLY. Create a TextAndCAD Report • Apply report template TEXTANDCAD. 5.RTP. • Run your part program and output the results to “Lab1TextOnly. Create a TextOnly Report • Make sure that your selected reporting template is TEXTONLY.RTP. • Output the results to “Lab1CadOnly. Lab 1 3.pdf”.pdf”.pdf”.RTP.

Experiment with the various options on this dialog and verify their effect on the report. • Recall each of them in the part program. • Apply the report template TEXTANDCAD. • Double-click on a CAD label and change its location. Modify the Report in the Report Window • Right click in the report and select “Edit”. 7. • Output the results to Lab1TextAndCadViewsets.pdf”. Experiment with the various options on this dialog and verify their effect on the report.pdf”. • Output the results to Lab1TextAndCadModified. • Double-click on a CAD image and modify the CAD view.RTP. Slide 78 . Lab 1 6. Use ViewSets • Create at least 3 ViewSets. • Right click on a label in the report and select “Edit”.

Lab 1
8. Create a Text Mode Dimension Report
• Right click in the report and select “Edit”. Check “Use Text Mode
Dimension Reporting” and verify the effect on the report.
• Output this report in RTF format to a file named
“Lab1TextDimension.rtf”.
9. Undo Modifications
• Use “Remove Object Modifications” to undo one or more of your
changes.
• Select “Clear Template Associated Data” and note its affect on the
report.
10. Experiment with the various tools on the Report
Window toolbar

Slide 79 End of Session 1

Slide 80

Examining Standard Templates

Slide 81

RTP in the Report Template editor Slide 82 . Examining Standard Templates Font Properties for selected object Object Docked Docked Property Toolbars Sheet Layout TEXTONLY.

be undocked) Slide 83 . Examining Standard Templates Just Toolbars and “Grab & Property Sheet can Drag” also float (i.e.

Examining Standard Templates TextReportObject The Rule Tree specifies what data is to be presented and in what format CadReportObject Label Three objects that present data and have a Rule Tree Slide 84 .

Examining Standard Templates Toggle Group Align Center Ruler Undo Toggle Zoom Align To Front Grid Out Edges / Back Property Sheet Zoom in Ungroup Space Zoom Make View Snap Regroup 1:1 Same Size Redo Points Layout Bar – some have menus Slide 85 .

Creating a Report Template From Help Slide 86 .

Examining Standard Templates Click Rules TEXTONLY.RPT in the Report Template editor Slide 87 .

Examining Standard Templates When to Rules exist Report if BOLD Data Data format Rule for Dimension Location Report We will talk more about Expression Language Rules and the Rule Tree Editor later Slide 88 .

What happens if I modify my report template? – Whenever you click the Redraw button in the Report Window. – This is the Text Mode Dimension Report 2. If it is not found. PC-DMIS creates it. PC-DMIS will notice that the report template has been updated and will use that updated report template. or when you run the part program. It is a TextReportObject with no rules. – This is a VERY handy feature! Slide 89 . What happens if I delete a report template that I have set as my default for a part program? – If the report template is not found. Standard Report Templates • Questions: 1. “default.rtp” is used.

RTP in the Report Template editor Slide 90 . Examining Standard Templates Several text objects TextReportObject with rules PPAP.

RTP in the Report Template editor Slide 91 . Examining Standard Templates Label Layout CADReportObject with rules CADOnly.

Examining Standard Templates # of Labels per page and Layout Style Should Leader Lines point to Measured or Nominal? CADonly.RTP / clicked on Layout Labels in Property Sheet Slide 92 .

Slide 93 .

Standard Label Templates • 29 Current Standard Label Templates (currently 32 in v4.lbl • Legacy_Dimension_CAD.2) • File_Header.lbl Slide 94 .lbl • Reference_ID.

lbl Slide 95 . Standard Label Templates • FCF_Label.lbl • Line1.

lbl • Line3. Standard Label Templates • Line2.lbl Slide 96 .

g. Line1 presents the size information • Line3 is for a secondary tolerance type or a secondary dimension Slide 97 . True Position of a Circle. Standard Label Templates • Line1. e. Line2 and Line3 refer to lines or rows in the Feature Control Frames Table • Line2 is the FCF primary dimension • In some cases.

Label Templates How to view / edit a label template Slide 98 .

Label Templates File header template in Label Template Editor Slide 99 .

Label Templates Double click in label to put in Edit mode Click to select a single cell Right click Cell same cell to expression bring up Grid Properties dialog Slide 100 .

Slide 101 . Label Templates How to change the File header label bitmap Click Select and browse to new image. Save or Save As to rename.

Label Templates How to change the File header label bitmap Slide 102 .

Notice that the # of times to Repeating Group repeat row.lbl COUNT(LINE1_ FEATNAME) Here is the Property Page for Row 3. checkbox is checked. Slide 103 . Label Templates Line1_Size.

Slide 104 .

Creating a Report Template Open the Report Template Editor for a new Template Slide 105 .

Letter. A4. B4. A5. Creating a Report Template Report Properties Portrait or Landscape A3. B5 Custom Size Japanese Postcard Slide Legal. Tabloid also available 106 .

Creating a Report Template Sectio nProperti es Section Height and Width Section Rule Tree Units are about 1000 per inch Slide 107 .

Right mouse or click Property icon to get the Property Page Note: always in Edit mode. Creating a Report Template Click the Text icon. drop onto the editor. Slide 108 . Can’t put it in Run mode.

Creating a Report Template Properties for: •Font •Colors •Alignment •Size •Location •Orientation •Text Slide 109 .

Creating a Report Template Add a bitmap Modify properties Slide 110 .

Creating a Report Template Add a TextReportObject Slide 111 .

Creating a Report Template Rules allow you to define how your data will be Click presented Add a TextReportObject Slide 112 .

Creating a Report Template Specify the rules 3 1 Click to specify when rules apply 2 Slide 113 .

the table format Slide 114 . You can have you can change many labels. Creating a Report Template Set the condition What additional text when rule will or text expression apply should be included in the report? What label or labels do you After you select a want to use? label template.

Creating a Report Template Be as detailed as you want as to when the rules should apply Slide 115 .

Exporting / Importing Rules Slide 116 .

 TextOnly  CADOnly  TextAndCAD  Graphical Analysis  CADOnly_Landscape  PPAP • There is an editor for both Report Templates and Label Templates so that you can create new templates and modify existing templates  Multiple copies of each editor can be open simultaneously • Objects comprise Report Templates Slide 117 . Review 2 • There are six standard report templates.

Review 2 • Three objects have a Rules property so that they can present measurement data  TextReportObject  CADReportObject  LabelObject • Rules can be reused because of the import / export functions • Modified report templates are automatically used by PC-DMIS when the report is redrawn or the part program is executed • There are properties for the object. the section and the entire report Slide 118 .

1 • The grid control is unique because:  It has properties for the object  It has properties for individual grid cells  Grid cell properties are set via the Grid Properties dialog Slide 119 . Review 2 • The Rule Tree specifies:  What data is to be included in the report  The format of the data • There are 29 standard label templates included in PC-DMIS v4.

Questions on Standard Templates? Slide 120 .

Questions on Creating a Report Template? Slide 121 .

b) Add a Text object and set the Text property to “Inspection Report”. Slide 122 . properties and rules 2. i) Click Redraw on the Report Window toolbar and notice how the changes affect the report.rtp.rtp”. h) Modify some of the properties of the line objects and resave the template. c) Add a TextReportObject on the top half of the page and import the Text rules d) Add a CADReportObject on the bottom half of the page and import the CAD rules e) Add a line object to separate the Title from the TextReportObject and add a line object to separate the TextReportObject from the CADReportObject f) Save this template. g) Display the report in the Report Window using MyTextAndCAD. Lab 2 1. Examine the standard report templates a) Open each of the six standard report templates b) Examine the objects. Create a new report template a) Using the Report Template Editor create a new report template called “MyTextAndCAD.

lbl” instead of “File_Header. Modifying a standard label a) Open File_Header. 1) change the bitmap 2) modify at least one font 3) modify at least one font size 4) modify at least one cell border 5) modify at least one cell background color c) Change the rules in “MyTextAndCAD.rtp” to “MyDeletedTextAndCAD. 4. b) Click Redraw on the Report Window toolbar and notice how the deletion affects the report. Delete a report template a) Rename “MyTextAndCAD.lbl”.rtp” so that it appears to PC-DMIS that the active report template has been deleted.rtp” to use “MyFile_Header.lbl”. Slide 123 . b) Make the following change and then re-save it. d) Click Redraw on the Report Window toolbar and notice how the deletion affects the report.lbl and save it as “MyFile_Header. Lab 2 3.

Lab 2 5. Slide 124 . Create a new Textonly landscape report template a) Using the Report Template Editor create a new report template called “TextOnly_Landscape. e) In the Report Window.rpt”. The report should be identical to the TextOnly report except that it is landscape instead of portrait. c) Add a TextReportObject on the top half of the page and import the Text rules d) Save the template. b) Set the report property to landscape. apply this template.

Lab 2 Slide End of Session 2 125 .

Slide 126 . such as. Creating a Report Template • User Assigned Properties: – The ability to create a template now but have the user specify supplemental data later But When? • Prompt when the user selects template – In the Template Selection Dialog. when the user selects Open. such as. the user is prompted for this information – Select this for data specific to a part type but does not change with each part that is measured • Prompt when executing report – Each time the part program is run. CMM ID. operator name. some type of part identification – Select this for ancillary information about the run. the user is prompted for this data – Select this for data specific to the individual part. etc.

Slide 127 . Specify when user will be prompted. Creating a Report Template Click checkbox.

unless user chooses to clear template associated data Prompted each time the report is executed Slide 128 . Creating a Report Template Note prompt Prompted once when template selected.

Creating a Report Template Prompt at execution Entered in Property Sheet Operator enters name at [Put Name Here]. 129 . Name appears in report in Slide Text Object.

Properties List? Note: I’m in the Report Template Editor with the template open. Creating a Report Template Can in Yes. order of the User No. I modify the the Editor. Assigned at execution. Slide 130 .

Creating a Report Template Move down Delete 2 lists to modify: 1. When report executed Move up Slide 131 . When template selected 2.

Creating a Report Template • Sections • Ability to divide a report into sub-reports • Each sub-report acts as if it has its own separate report template • Sections print out in the order that they are defined • All data is made available to all sections • Rules determine if section displays the data Slide 132 .

Creating a Report Template • Sections • Possible uses: • Cover sheet Coming in • Title page v4.2 -- • Table of Contents Selective • Summary data! • Detailed data section Slide 133 .

Creating a Report Template Section properties Right click to add a A Rule Tree for section each Section Section name Multi-section report Slide 134 .

Questions on Creating a User Assigned Properties? Slide 135 .

Slide 136 .

except: – No CadReportObject – No Label Object – No TextReportObject CommandTextObject – No Leaderline ChartObject • But it does include: – CommandTextObject – AnalysisObject – ChartObject CADImageObject AnalysisObject – CADImageObject Slide 137 . Label Templates Object Toolbar • Similar to Report Template Editor Object Toolbar.

Label Templates Resize Slide 138 .

a width of 200 is about 2 inches. This is also true in the Report Template Editor. Therefore. Label Templates There are about 100 pixels per inch. Resize Slide 139 .

Label Templates Example Text Object 1 with CommandTextObject Label ShadowStyle property Text Object 2 Slide 140 .

Label table format Slide 141 . # of Example columns and rows. Label Templates Grid Control Another Set size.

Creating a Report Template Legacy_Dimension.lbl Legacy_Dimension.lbl in Edit Mode Formulas are used to define what data is to be displayed in each cell Slide 142 .

Column 2. Slide 143 . each cell You put the formula in the Cell Expression area. Creating a Report Template There are many properties Note the Property here to allow Page for this cell at you to tailor Row 1.

lbl is a Grid Control Cell properties Merge multiple cells as one Slide 144 . Label Templates Legacy_Dimension.

an image or an ActiveX control. Creating a Report Template A cell can contain text (including a formula or expression). Slide 145 .

Label Templates This equation determines how many times to repeat this row Slide 146 .

Label Templates Rule for Dimension Location is: Same "legacy_dimension.lbl" USE TEMPLATE Label 3 Rows Template Point 4 Rows Sphere Cone 5 Rows Slide 147 .

Label Templates Slide 148 .

Slide 149 .

Rule Tree Editor Main categories of Rules Slide 150 .

Rule Tree Editor Rules for comments. Slide 151 . file operations. etc.

conditional flow Think etc.“outside Rules statements. Rule Tree Editor Rules for DMIS. are for the box” more thanand just templates dimensions may and solve feature other measurements problems Slide 152 .

Rule Tree Editor

Specify to what
the label shall
apply. Here Click
Features are Add to
highlighted. add first
rule

Slide
153

Rule uses Label Template
Already filled
in for you.
Applies to all
Check here Features

Enter Label Template file name

Slide
154

Rule Uses Text Expression
Already filled
in for you.
Applies to all
Features

Check here

Message to output to report

Slide
155

Create a Report Template Conditionally outputting text Conditionally Using a Label Only if a characteristic of Dimension Location is Out-Of-Tolerance will the text or label be output to the Report Slide 156 .

Create a Report Template
Both
rules
added to
the Rule
Tree

Slide
157

What if Rules Conflict?
All apply?
Rule Here
None?
Which one?
Rule Here

Child
overrule
s Parent
!
What if there
was a rule here?

Slide
158

Rules about Rules
Rule Tree Rules
• Multiple rules per command
• Can be applied unconditionally or conditionally
• A rule can put out text directly or provide
information based on the format of a label
template
• Can use conditional expressions using the
Reporting Expression Language
• Can use a text expression using the Reporting
Expression Language
• You can specify an initial grid format (label
template)
• You can specify order that the rules are applied
• Parent node rule applies to a child node only if
Slide
the child node has no rule
159

Slide 160 .

Report Expression Language • See the Help File • Table of Contents • PC-DMIS 4 Core Help File • Reporting Measurement Results • Creating Custom Reports • About Report Expressions • Edit Window pop-up can provide data type name used in report expressions • Can also be used in properties Slide 161 .

This displays a dimension's measured value.This loads a string from a table of stored strings within PC- DMIS. =AXIS:N .This displays the maximum possible in-tolerance upper value for a dimension. Slide 162 . iteration =DIM_OUTTOL:N .This displays the nominal data for a feature.This displays the unit What is “N”? for the feature or of measurement dimension.This displays the feature or dimension ID. =NOMINAL:N .This displays the current axis name The “N”YAXIS.This displays a feature's plus tolerance. =LOADSTR .Typical Report Language Expressions =ID .This displays a feature's minus current tolerance. row or column.This displays the minimum possible in-tolerance lower value for a dimension. or ZAXIS). =DIM_MEASURED:N . =DIM_MIN:N . (XAXIS. evaluates to the =F_MINUS_TOL:N . expression =F_PLUS_TOL:N . =DIM_MAX:N . =UNIT_TYPE .This displays the out of tolerance value value for a of a repeating dimension.

0.0) =LOADSTR(-572) [loads string from resources] =GDT_SYMBOL Slide 163 .lbl =TOL(AXIS:N. Report Expression Language Legacy_Dimension. 0.DIM_OUTTOL:N. 0.

then set the string in expression 1 to the marked color. otherwise. NOMINAL:N+F_PLUS_TOL:N. Report Expression Language TOL =TOL(DIM_DEVIATION:N.DIM_MEASURED:N.NOMINAL:N-F_MINUS_TOL:N) From Help If expression 4 is between expression 2 and expression 3. set it to the error color Slide 164 .

" .DIM_OUTTOL:N.0." + REF_ID:1.lbl =TOL(DIM_MEASURED:N.0.0) =ID + IF(LEN(REF_ID:1) > 0. Report Expression Language Legacy_Dimension. " " + LOADSTR(-247) + " " + REF_ID:2.0. " ") + IF(LEN(REF_ID:2)>0 AND REF_ID:1 <> REF_ID:2. " ") Slide =UNIT_TYPE 165 .

2) The GridControlObject in its grid cells. Report Expression Language There are four areas where you can insert report expressions: 1) The Rules Tree Editor in the Conditional Expression and Text Expression boxes. 4) Property Sheet Values on edit fields or combo boxes that take text values. Slide 166 . 3) The GridControlObject in the Repeat Expression box in the Row tab for repeat expressions.

Report Expression Language From Help: Slide 167 .

NOMINAL:N-F_MINUS_TOL:N) Slide 168 . Report Expression Language Edit Rule / Conditional Expression MEAS > (NOMINAL + PLUS_TOL) OR MEAS < (NOMINAL – MINUS_TOL) TOGGLEVALUE(TEXT_ANALYSIS)>0 Edit Rule / Text Expression ***** Feature is Out-Of-Tolerance ***** GridControlObject / Repeat Expression =COUNT(AXIS) Property Sheet / Properties with text values =REF_ID =REVISION_NUMBER =PART_NAME =SYSTEMTIME("HH:mm") GridControlObject / Cell Blue Black Yellow =RGB("Blue".255) + RGB(" Black".DIM_MEASURED:N.255.0.0.0.0) + RGB(" Yellow".0) =TOL(DIM_DEVIATION:N.0.255. NOMINAL:N+F_PLUS_TOL:N.

g.X. This.X) • e. ActiveX Controls • Can be added: • Directly to a Label Template • To a cell of a Grid Control • Directly to a Report Template • 5 ActiveX controls ship with PC-DMIS • ActiveX controls have 2 sets of properties • Properties common to all ActiveX controls • e.g.EventReportData Slide 169 . This.Left • Properties unique to a control (.

ActiveX Controls 1. Best Fit Analysis Red dots – before best fit Used for Alignments Green bar – #’s 1 – 4 represents 4 after best fit features used in best fit Slide 170 .

ActiveX Controls 2. Dimension Analysis Slide 171 .

Feature Analysis 4. ActiveX Controls 3. Dimension Report Linear Slide 172 .

Dimension Report Radial Coming in v4.2 -- More ActiveX controls! Slide 173 . ActiveX Controls 5.

lbl Slide 174 . Event Report Data Best_Fit_Analysis.

• Open the label template for editing • Right click to show the grid control properties in the Property Sheet • Double click the ActiveX control to show its properties in the Property Sheet • In the Property Sheet. ActiveX Controls ActiveX Color • It is a property of the control. under the ActiveX category. click on … next to OCXProperties Slide 175 . not of PC-DMIS • To get to this property. in the Label Template Editor.

ActiveX Controls # of zones How to assign colors in zones Click … to get color wheel Assign colors individually Slide 176 .

Automation 1 From Help 2 3 4 5 6 Slide 177 .

ReportControls ReportObjects = Section.ReportTemplate Report = Reports.Section 5 Section = Sections.Item(1) Dim ReportObjects As PCDLRN.ReportTemplates Reports = App.Application") 1 Dim Reports As PCDLRN.Sections 4 Dim Section As PCDLRN.Application App = CreateObject("PCDLRN.Add 3 Dim Sections As PCDLRN.ReportControls 6 Slide 178 . Automation Dim App As PCDLRN.ReportTemplates 2 Dim Report As PCDLRN.Sections Sections = Report.

Slide 179 .

5.RTP (Production Part Approval Process Report). 3. 2. Double click GraphicalAnalysis object and change zoom and orientation c. Change number of labels on a page without going to the Template Editor. Foreground / background colors are not limited to 16 colors. Status Window is dockable in CAD Window and scrollable. New in PC-DMIS v4. New object on Label Editor toolbar called CADimage object. 8. Three new ways to modify a report. When printing. “Remove changes” in right click menu with Edit.1 1. 4. PPAP. 7. Slide 180 . Leader lines can terminate at the nominal or measured values. Right click GraphicalAnalysis object and change its properties b. you can turn off the background colors. 6. a.

2 1. Custom Report Editor to create and edit custom reports Anticipated b. Sections become pages which can be added and removed 2.2 that a report can have a mixture of landscape and portrait pages. Custom Reporting (reports designed for a specific part program) a. 4. Anticipated Additions to v4. Custom Reports can be created from a template or another Custom Report Slide 181 . “Page Size” andPC-DMIS “Page Orientation” properties will be moved to the “Section/Page” object so v4. Drag and drop from Summary Mode c. Duplicate a report page in 3.

Section cut profile control Slide 182 . New ActiveX controls 10. Anticipated Additions to v4. Copy / Paste rules 9. CAD label and CADReportObject can be resized 7. Like Template Selection Dialog icon. additional icon on Report Window toolbar for Custom Report Selection Dialog 6. All report objects can be moved 8.Auto-zoom option for the CAD view 11.Collated sections 12.Access to total number of pages (page x of y) 13.2 5.

Optional small. each section can select only the data it needs 17.Selective data.2 14. Anticipated Additions to v4.First page layout so the report can have an expanded first page of information and the rest of the report can have an abbreviated heading 15.Ability to pre-set a fixed size for a label 16. medium or large color ball at end of leader line Slide 183 .Boundary leader lines (like CAD blue print) to show labels for distance and angle between dimensions 18. that is.

Custom Labels • “Creating a Custom Label Template” Slide 184 . Reporting Training Additional Training Information: 1. Custom Reports • “Creating a Custom Report Template” 3. Forms • Tutorial: “Creating Forms” 2.

com/Template Training\ Reporting2006July. Reporting Training PowerPoint Presentation: ftp://ftp.wilcoxassoc.ppt Slide 185 .

Reporting Training Slide 186 .

Review 3  User Assigned Properties  Allow you to create a template now but have information provided later  When template selected  When report executed  UAP properties can be re-ordered in the template editor  Sections  Divide the report into “sub-reports”  Each section has its own objects and rules  Order of the sections is the order of the report  Label Template Editor Toolbar  Similar to Report Template Editor toolbar without objects that have rules  Four objects added Slide 187 .

• Image • ActiveX Control  Repeating rows of a grid control make labels more flexible  Rules are for more than features and dimensions  May provide other uses of templates  There are 5 ActiveX controls loaded by PC-DMIS  Most useful by labels  Reporting has an Automation interface Slide 188 . Review 3  Grid Control is Unique  The control has properties  Individual cells of the grid each have properties  A cell can contain: • Text (or text expression).

Review 3  Report Expression Language can be used wherever text is used  The Rules Tree Editor in the Conditional Expression and Text Expression boxes.  Property Sheet Values on edit fields or combo boxes that take text values.  The GridControlObject in its grid cells. Slide 189 .  The GridControlObject in the Repeat Expression box in the Row tab for repeat expressions.

Questions? Slide 190 .

bmp and check UAP c) Set the Layout property to “Size to Fit” d) Add a TextReportObject a) Size it for the rest of the page b) Import the TextOnly rules c) Check UAP for all of the “Show…” properties e) Apply this template in the Report Window Slide 191 .RTP and save it as “Multi. for UAP – your choice when to prompt) a) Add a Section called “TextOnly” b) Add a text object a) Center it at the right half of the top of the page b) Set Alignment to right c) Set the Text property to “Enter Report Title here” and check UAP d) Change the ForeColor property to blue and check UAP e) Set the Font property to Arial. 20 point. Lab 3 1. Bold and check UAP f) Set ShadowStyle to Bottom/Right and check UAP c) Add a Bitmap object a) Put object in the upper left corner of the page b) Set the Bitmap property to wai.RTP” (for the rest of this Lab. Open PPAP.

rul rules d) Add a CADReportObject to the bottom of the page e) Import the CAD.RTP a) Create a new Section called “TextAndCAD” b) Add a TextReportObject to the top of the page c) Import the TextOnly.RTP” in the Report Template Editor a) Create a new Section called “CADOnly” a) Add a CADReportObject that fills the page b) Import CAD rules b) Apply this template in the Report Window 3. Lab 3 2.rul rules f) Apply this template in the Report Window Slide 192 . Open “Multi. Open “Multi.

Lab 3 4. Open “Multi. set text property to: a) Operator Name b) CMM ID c) Department d) Supervisor Name Slide 193 . In the left column.RTP a) Create a new Section called “Front Page” b) Change the order of the Sections so that: 1) Front Page 2) CADonly 3) TextOnly 4) TextAndCAD 5) PPAP c) Add several text objects in two columns.

jpg in Paint. f) Save and then apply this report in the Report Window 5. Add border objects with background color. Lab 3 d) In the right column have corresponding text objects with UAP checked so that the operator will enter this information e) Add a bitmap object on the bottom half of the page. Create a label called “OutOfTolerance. Set its Text property to “* Out of Tolerance *”. In the center add a Text object. Slide 194 . Use this image in the bitmap control. Save it as a . Use “print screen” to capture a part image.lbl”.

Slide 195 .lbl”. b) Save and then apply this report in the Report Window. add a rule to Location Dimension that says: IF “DIM_OUTTOL:N>0 THEN USE TEMPLATE “OutOfTolerance. for the TextReportObject. Note how adding this rule affected the report. Use of conditional rule: a) In the TextOnly Section. Experiment by adding other sections to this report. Lab 3 6. 7.