FAQs about TCP ASCII Communication

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

question icon Why Did Mech-MSR Return Only “1” Instead of Measurement Data After a Trigger Command Was Sent?

The trigger command is only used to trigger a project to run. Returning 1 indicates that the project has been triggered successfully and the command execution has completed.

question icon Why Did Mech-MSR Return the Status Code “-1” After a Trigger Command Was Sent?

The returned -1 is an error code indicating that the specified project ID does not exist. For the possible causes and solutions, see Error Codes.

question icon When Can the Return Command Be Sent?

  • Under normal conditions, after sending the trigger command and receiving the returned status code 1, the TCP client can send the return command to obtain the measurement results and inspection results.

  • If the project normally takes more than 10 seconds to run, sending the return command immediately after the trigger command may cause a timeout error. In this case, send the return command after an appropriate wait time.

question icon Why Did Mech-MSR Return the Status Code “-2” After a Return Command Was Sent?

The returned -2 is an error code indicating that no result is available.

Possible causes:

  • The return command was sent before the project was triggered to run through the trigger command.

  • Mech-MSR is running abnormally.

For more information, see Returned Results of Return Command.

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.