Action Sequence

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

Description

Use this Step to execute preconfigured actions in sequence to initialize the target projects.

Usage Scenario

This Step is applicable when multiple initialization operations need to be completed sequentially before running the target projects, such as configuring cameras, clearing camera or global variable buffers, and switching parameter recipes.

Input and Output

Input

This Step has no input ports.

Output

Output Port Data Type Description

Overall Execution Result

Bool

True indicates that all actions succeeded, and false indicates that at least one action failed.

Action Execution Results

Bool[]

Results follow the configured action order. True indicates that the action succeeded, and false indicates that it failed or was not executed. After an action fails, subsequent actions are not executed.

Parameter Description

In the Step’s parameter configuration panel, click the Add action button and select actions as needed. Up to 10 actions can be added to one Action Sequence Step. After adding multiple actions, drag the icon to the left of an action to adjust the execution order. When the Step runs, the actions are executed sequentially from top to bottom.

For actions that set parameters, the parameters in an action correspond to parameters with the same names in the selected Step. When this Step runs, the parameter values set in the action are synchronized to the corresponding parameters in the selected Step. For details about the parameters and how to adjust them, see the parameter description of the selected Step.

Action Type Action Parameter Description

Camera configuration

Set Exposure Time (2D)

Step Name: Select the Step connected to the target 2D smart camera.

Exposure Time: Set the exposure time used by the 2D smart camera to acquire images, in μs.

Set Gain (2D)

Step Name: Select the Step connected to the target 2D smart camera.

Gain: Set the gain used by the 2D smart camera to acquire images, in dB.

Clear Buffer (2D)

Step Name: Select the Step connected to the target 2D smart camera whose buffer is to be cleared.

Set Focus Distance (2D)

Step Name: Select the Step connected to the target 2D smart camera.

Focus Distance: Set the focus distance of the 2D smart camera.

Adjusting the focus distance on a 2D smart camera takes time, and the smaller the change in focus distance, the faster the adjustment. For example, adjusting the focus distance on an AIC-Lite-050 series camera takes 0–1 s. The lens is rated for about 50,000 focus cycles, so frequent focus distance adjustments are not recommended.

Set Gamma Correction Value (2D)

Step Name: Select the Step connected to the target 2D smart camera.

Gamma Correction Value: Set the Gamma correction value of the 2D smart camera.

Set Max Buffered Frames (2D)

Step Name: Select the Step connected to the target 2D smart camera.

Max Buffered Frames: Set the maximum number of image frames that the camera can buffer.

Global variables

Clear Global Variable Buffer

Variable Name: Select the global variable whose buffer is to be cleared.

Parameter recipe

Switch Parameter Recipe

Project Name: Select the project whose parameter recipe is to be switched.

Recipe Name: Select the parameter recipe to apply.

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.