### Generating a Debug File

PC-DMIS has the ability to generate a special text file that contains all the communication that takes place between PC-DMIS and the CMM during part program execution. This file is called the debug file and is used by technical support to resolve certain problems involving the CMM.

The debug file lists all the commands PC-DMIS sends to the CMM, responses received, and error messages generated by the controller.

If you encounter repeatable problems that involve the movement of your CMM in online mode, you can generate a debug file by following this procedure:

1. From the Machine Options dialog box (Edit | Preferences | Machine Interface Setup), select the Debug tab.

Machine Options dialog box - Debug tab

2. Select the Log check box.

3. Choose a name for the debug file name in the box next to the Log check box. The default filename is debug.txt. If desired, you can also precede the filename with a full pathway to specify the drive and directory where PC-DMIS should send the debug file. By default PC-DMIS writes the debug file to the directory where you installed PC-DMIS.

4. Click Apply and then OK. The dialog box closes.

5. Execute your part program and when you encounter the error, immediately exit PC-DMIS.

6. Navigate to the directory containing your debug file and rename the debug file. If you don't rename the debug file, the next time you start PC-DMIS it will automatically overwrite all existing data stored in the debug file.

You should then send the debug file, the part program file (.prg), the probe file (.prb), along with any other needed files to your technical support representative.

More:

Starting a Fresh Debug File

Setting Additional Debug Options