Return to Wilcox Associates, Inc. Home Page
View News and Press ReleasesDownload FilesGet Technical SupportAccess the Users AreaContact Wilcox Associates, Inc.View Offsite Links
Created on: September 24, 2002
Last modified: March 04, 2011
Return to Home Page Contact Us

Download Examples of PC-DMIS in Use

This section contains examples of PC-DMIS in action that enhance PC-DMIS's functionality, and hopefully make PC-DMIS easier to use and more enjoyable.

Automation Examples

This section contains examples of PC-DMIS's Automation capability in action. We hope these examples make Automating PC-DMIS easier to use.

To get and share automation scripts submitted by PC-DMIS users, please visit our Custom Scripts Repository (you will need to register to access this page).

Waiting.zip

4k

This file contains a sample PC-DMIS part program file and a sample BASIC script. These two files provide two different ways to cause PC-DMIS to wait for a certain amount of seconds before continuing part program execution.

The BASIC script runs in PC-DMIS 3.0 or later.

The Part Program file runs in PC-DMIS 3.5 or later.

See the enclosed ReadMe.txt for instructions.

AllExcl.zip
1.97mb

This Automation example moves dimension information from your currently active part program into a Microsoft Excel readable format. AllExcl.zip contains a setup program, source code, and instructions (in a ReadMe.txt file).

This program requires PC-DMIS version 2.3 or 3.0 and Microsoft Excel. It will not work in versions later than 3.0. Visit our Custom Scripts Repository for an updated script submitted by a user that outputs in later versions.

AllGUI.zip 4.16mb This Automation example allows a supervisor to store up to fifteen part programs into a customizable Graphics User Interface (GUI). Part programs are executed when buttons associated with a part programs are pressed. AllGUI.zip contains a setup program, source code, and instructions (in a ReadMe.txt file).
Execute.zip 3k This very simple Visual Basic sample program displays a dialog box with a button. When you click the button the following occurs:
  1. PC-DMIS launches and displays the initial Open dialog box, with your list of part programs.
  2. PC-DMIS automatically begins program execution for the selected program.
  3. The part program closes.
  4. PC-DMIS exits.
This program works with PC-DMIS 3.0 or later and requires Visual Basic 5.0 or later.

See the enclosed ReadMe.txt for instructions.

Featdata.zip 16k This example demonstrates a script embedded in a Microsoft Excel worksheet. The script prompts you to open a part program, it then fills the worksheet with the centroid and vector data of all of the features in the part program.

This program requires Microsoft Excel 97 or later.

See the enclosed ReadMe.txt for instructions.

Outtol.zip 2k

This file contains a basic script that can be run from the PC-DMIS' Script and Macro toolbar. It counts and displays the number of dimensions that are out of tolerance and within tolerance in the current part program.

See the enclosed ReadMe.txt for instructions.

Edittols.zip 2k

This script changes all plus and minus tolerances by the value indicated.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Featedit.zip 3k

This script changes feature IDs for specified feature types to a new ID.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Flipvect.zip 2k

This script flips all your features vectors.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Hidedet.zip 2k

This script sets the SHOWALLPARAMETERS command to NO, for sheet metal features.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Showdet.zip 2k

This script sets the SHOWALLPARAMETERS command to YES, for sheet metal features.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Markfet.zip 2k

This script marks all features of a specified type.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Unmark.zip 2k

This script unmarks all features of a specified type.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Setvals.zip 3k

This script allows you to change your part program's measured values to either match or randomly differ from your theoretical values.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Normal.zip 21k

This file contains a modified Microsoft Word template (Normal.dot) which, through Microsoft Word, allows you to insert the inspection report into Microsoft Word using a format specified by the script.
This script runs in PC-DMIS 3.2 or later.

See the enclosed ReadMe.txt for instructions.

Back to Top


HyperView Examples

This section contains HyperView Reporting examples.

HyperviewExample.zip 249k

This file contains a sample part program and its HyperView report. It provides an example of how simple Visual BASIC code can further customize your report for user interaction.

See the enclosed ReadMe.txt for instructions.
This example only works with PC-DMIS 3.1

This example covers topics discussed in the older Reporting Tutorials.

Back to Top


Template Reporting Examples

This section contains Reporting examples used in PC-DMIS's new template reporting approach starting in version 4.0. Some examples may require a specific version.

Footer_TextBased.zip 9k

This file contains a sample label template to use as a footer that you can call from a report template. This template works in version 4.2 and later.

See the enclosed ReadMe.txt for instructions.

Minmax_Deviation.zip (Added March 2011)

1.74 mb

This file contains a sample label template called audi_minmax_dev.lbl. You can use this template to display the t-deviation for each hit in a form dimension of a scan. The Analysis Window object inside of a Custom Report uses this label template to display that information. This screen capture shows a sample Analysis Window object of a line profile dimension using this label template.

This template works in any version that supports the Custom Report functionality.

See the enclosed ReadMe.txt for instructions.

Back to Top

 

sales@wilcoxassoc.com | webmaster@wilcoxassoc.com
Copyright © 2002-2012, Wilcox Associates, Inc.
Part of Hexagon Group