Adding Input and Output Pins to a Tool Block

Within Cognex Designer, CogToolBlock [Inputs] and [Outputs] Terminals are used to define the Input and Output pins on the VisionPro Tool Block in a Task.

Note: In a VisionPro Tool Block, if a third-party DLL is referenced in either a script or Input/Output Terminals, the DLL must be either added into the Designer installation folder or into the Global Assembly Cache (GAC). If the third-party DLL will also be run in Quick Build, then the DLL will also need to be in the VisionPro installation folder or GAC, as well.
  1. Double-click the Tool Block to open the VisionPro Tool Block, which will open in a new tab beside the Task.
  2. To add Input/Output pins to the Tool Block, there are two options: using the Inputs/Outputs tab, or selecting either [Inputs] or [Outputs] in the Tool tab, and using the right-click menu. Both options call the same menus and Browse dialog.

  3. Select the desired Input/Output from the default menu options. If the desired type does not appear in the list, press the Browse button, and then navigate and select the desired Input/Output type from the list.

Related Topics  

The following topics can be referenced in the VisionPro® Online Documentation:

  • CogToolBlock Edit Control - Inputs/Outputs Tab