System and method for generating a measuring program
AssigneeHon Hai Precision Industry Co., Ltd.
InventorsCHIH-KUANG CHANG, LI JIANG
Life of this patent
Estimating the term…
Abstract
An exemplary for generating a measuring program is disclosed. The method includes: editing a measuring program source code generated by an image measuring machine after completing a full measuring cycle on a workpiece; detecting whether there are any measuring program errors during the editing process; identifying and displaying a location where the measuring program errors occur and reporting reasons of the errors correspondingly, and returning to edit the measuring program source code if the measuring program errors have occurred; saving the edited measuring program source code in a source code file; and compiling the source code file into a measuring program executable for a computer. A related system is also disclosed.
Claims10
A system for generating a measuring program configured in a computer, the system comprising:
- a source code editing and generating module configured for editing a measuring program source code generated by an image measuring machine after completing a full measuring cycle on a workpiece, and for modifying measuring program errors;
- a determining module configured for detecting whether there are any measuring program errors during the editing process;
- an error reporting module configured for identifying and displaying a location where the measuring program errors occur and reporting reasons of the errors correspondingly if there are measuring program errors during the editing process;
- a saving module configured for saving the edited measuring program source code in a source code file;
- and
- a compiling module configured for compiling the source code file into a measuring program executable for the computer.
A method for generating a measuring program, the method comprising:
- editing a measuring program source code generated by an image measuring machine after completing a full measuring cycle on a workpiece;
- detecting whether there are any measuring program errors during the editing process;
- identifying and displaying a location where the measuring program errors occur and reporting reasons of the errors correspondingly, and returning to edit the measuring program source code if the measuring program errors have occurred;
- saving the edited measuring program source code in a source code file;
- and
- compiling the source code file into a measuring program executable for a computer.
Dependencies are inferred from the claim text.