FAQs about TCP ASCII Communication

question icon Why did Mech-MSR only return “0” but not the measurement data after a trigger command was sent?

The trigger command can only be used to trigger the project to run. Returning 0 indicates that the project has been triggered to run successfully, and the command is executed successfully.

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 possible causes and solutions for the error, see Error Codes for details.

question icon When to send the return command?

  • Typically, after sending the trigger command and receiving the status code 0, the TCP client can send the return command to obtain the measurement result and judgment result.

  • If the project needs more than 10 seconds to run in normal cases, sending the return command directly after the trigger command may result in a timeout error. In this case, you can wait for a while after sending the trigger command and then send the return command.

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 no result.

Possible causes:

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

  • Mech-MSR was running abnormally.

For more information, refer to the Description of returned results for return command.

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.