Perform Measurement Based on Data

Example Tutorial: Deploy Pin Height Measurement Project

In this phase, you need to deploy the Mech-MSRproject to ensure that the project can achieve accurate and efficient measurement and output the measurement results.

The process of deploying a Mech-MSR project is shown in the figure below.

project configuration workflow

Build a Project

A Mech-MSR project starts with image acquisition, followed by data processing, and ultimately completes the measurement and inspection.

The methods for building a project are as follows:

  • Build a project from scratch: Create a new solution > Create a new project > Add Steps to the project and connect the data flows.

  • Use an example project: For typical application scenarios, you do not need to build a solution and project from scratch. Mech-MSR’s solution library provides a wealth of 3D measurement cases. You can directly use an example solution (which includes an example project) as an application template to quickly create the measurement project and configure the parameters.


See also

Data Acquisition, Data Processing, and Measurement

After building the project, you need to acquire and process data via the Steps in Mech-MSR’s Step Library to ensure that the configured project can meet the actual measurement and inspection requirements.

1) Data Acquisition

You can use the Steps from the Step library’s Capture category to acquire image data.

The basic workflow for data acquisition is as follows:

  1. Drag the 3D Laser Profiler Step to the graphical programming workspace.

  2. In the graphical programming workspace, select this Step and connect to the laser profiler used in the system hardware setup phase.

  3. Select the configuration parameter group set in the high-quality data acquisition phase.

  4. Enable Debug Output for the project for real-time visualization of data and the view of Step execution results in Data Viewer.

  5. Run this Step to obtain image data.

2) Data Processing

Data processing involves alignment, cropping, filtering, and target locating to ensure efficient and accurate measurement.

Generally, you can use the Steps under the Step library’s Preprocessing and Positioning categories to process data.

The general workflow for adjusting parameters is as follows:

  1. Select a Step in the graphical programming workspace and then adjust the parameters as needed in the parameter configuration panel of the Step.

  2. In the Output section of the Step’s parameter configuration panel, select the desired output item(s).

  3. Run the project or a single Step and then check the effect in Data Viewer.

3) Measurement

After determining the measurement item according to the project requirements, you can use the Steps under the Step library’s Measurement category to perform measurement.

The general workflow for adjusting parameters is as follows:

  1. Select a Step in the graphical programming workspace and then adjust the parameters as needed in the parameter configuration panel of the Step.

  2. In the Output section of the Step’s parameter configuration panel, select the desired output item(s) and set Min and Max for the target measurement item to determine the acceptable range.

  3. Run the project or a single Step and then check the effect in Data Viewer.

Save the project and solution after adjusting the parameters of all Steps.


See also

Obtain Results

After measurement, you can view the results in Mech-MSR’s result display panels or establish communication with an external device to obtain the measured values and quality judgment results.

Quality Judgment

You can configure a quality judgment rule that combines the results of multiple measurement items to obtain the overall quality judgment result (OK or NG) of the project.

For detailed configuration instructions, refer to Quality Judgment.

Communication Output

Based on communication, Mech-MSR can send the results to an external device.

Before communication setup, complete the following preparations:

  • Add output content

    Add measurement items to the project output and determine which measured values and judgment results need to be output to external devices.

  • Configure communication

    • For the communication configuration on the external device side, refer to the communication configuration guide for the external device.

    • For the communication configuration on the Mech-MSR side, refer to Communication Configuration.

After the communication between Mech-MSR and an external device is set up, Mech-MSR can output the overall judgment result of the project and the measured values and quality judgment results of individual measurement items to the external device.

  • If the quality judgment result is OK, Mech-MSR will return 0.

  • If the quality judgment result is NG, the Mech-MSR will return 1.


See also

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.