Number of Strings Returned by strSplit Function Does Not Match the Predefined Length

You are currently viewing the documentation for the latest version (2.1.2). 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.

Problem

When a Rokae robot program calls a Standard Interface command and receives an overly long string, it may trigger an error stating that the number of strings returned by the strSplit function does not match the expected length.

Possible Causes

The string received by the robot exceeds the length of the program’s predefined variable.

Solutions

Limit the number of poses sent from the vision system to the robot to control the overall string length. In the toolbar of Mech-Vision, go to Robot Communication Configuration  Next  Advanced Settings and set Max num of poses to send per time to 10 or a smaller value.

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.