# Release History

The following topic lists the features and resolved issues in previous releases of Cognex Designer.

Note: Cognex Designer is backward compatible, which means that projects created with earlier Designer versions can be opened and edited. Designer does not support loading projects created by a newer version of Designer in an earlier version.

## Cognex Designer 4.4 Release

Cognex Designer 4.4 introduces multiple new or changes capabilities since the previous generally available (GA) release (4.3.1):

- Drop support for Windows 7. Windows 10 is the only officially supported operating system.
- Plugin development should now use Visual Studio 2019 (16.8)
- Supports VisionPro 9.6 SR2
- OPC UA Plugin to support tag subscriptions
- Option to increase the limit of a Recipe's size
- Option to asynchronously write to a database

## Cognex Designer 4.3.1 Release

Cognex Designer 4.3.1 introduces multiple new or changed capabilities since the previous generally available (GA) release (4.4). See the below list for more information.

- Supports VisionPro 9.6
- Sample Project for WebHMI Vision Tool Editing: Practice the editing of the supported Vision Tools through the WebHMI with a new WebHMI Vision Tool sample project, Basics_EditGraphics. Access this project through the Sample Projects list of the Cognex Designer Launch Page. See the Sample Projects topic for more information on the Cognex Designer sample projects, and the Edit VisionPro Tools Through the WebHMI topic for more information on editing supported VisionPro Vision Tools through project web pages.

This section describes changes and resolved issues.

Note: Change Request numbers (CR#) have been included (where applicable) to improve the tracking of issues reported via Cognex Technical Support.

CR# | Issue
CDVP-1248 | Updated the handling of Development Licenses. Cognex Designer now sends a warning 30 minutes before license expiration, allowing users to test and deploy their project in time.
CDVP-1272 | Fixed a memory leak that occurred when using a dollar tag $ expression in the TagPath field of a Tag.
CDVP-1244 | Fixed an issue with the KeyPad control on the HMI not responding to touch events correctly when opened in a pop-up window.
CDVP-605 | Fixed an issue with the HMI ListBox not saving the changes made for its Display Column and Value Column properties.
CDVP-1270 | Fixed an issue with Recipes returning a configuration type mismatch error when loading a Recipe, even though the configuration and recipe types were actually compatible with each other.
CDVP-1275 | Updated the TwinCat device of Cognex Designer to support reconnecting in runtime during connection problems.
CDVP-1258 | Fixed an issue that prevented users from using a custom splash screen for their deployed applications.
CDVP-1273 | Improved the performance of the Script Editor's auto-fix feature to better handle C# scripts.

## Cognex Designer 4.3 Release

Cognex Designer 4.3 introduces multiple new or changed capabilities since the previous generally available (GA) release (4.2). See the below list for more information.

- Supports VisionPro 9.5 SR2
- Editing Vision Tools in Runtime through the WebHMI: Adjust and/or fine-tune the Vision Tools of your project during runtime by modifying them remotely through the WebHMI.
- Ease of Use Enhancements: The Cognex Designer user interface has received several graphical enhancements (such as new category icons or window naming changes) along with the following new features:
  - Added a new Web Pages Browser, allowing you to quickly access the list of WebHMI pages created in the project.
  - Added the ability of configuring a startup web page for the project through the Web Pages Browser or the Project Explorer. See the Configure a Startup Web Page topic for more information.
  - Updated the Script Editor with new buttons and hotkeys for quickly commenting out lines of code, or uncommenting existing comment lines.
  - Updated the Task Editor and the Tag Manager to support directly assigning tags to compatible Page and WebPage user input elements. See the Assign a Pin to a Page or Web Page Control and the Tag Manager topics for more information.
- New Sample Plugins: Develop your own custom Task Blocks, HMI elements, or HMI chart control elements with a set of sample plugins supplied with the Cognex Designer 4.3 installation. See the Use Sample Plugins topic for more information.
- Shared Project Resources: Share project resources between your development project and deployed application with the new Share Resources with IDE setting of the Deployment dialog. See the Deployment Options topic for more information.
- Test Mode Password: Protect your Cognex Designer Development project by specifying a password for exiting Test Mode. See the General topic for more information.

## Cognex Designer 4.2 Release

Cognex Designer 4.2 introduces multiple new or changed capabilities since the previous generally available (GA) release (4.1 PR2). See the below list for more information.

- Supports VisionPro 9.5 SR1
- Optional Communications Plugins - Enhance the industrial communications capabilities of your vision project with the following optional industrial communications protocols:
  - Modbus - With a set of new Devices, Task Blocks and $ functions, the Modbus plugin adds support for the general-purpose Modbus communications protocol in Cognex Designer.
  - OPC UA Server - Represented in the Devices node of the Project Explorer, the OPC UA Server functionality brings support for the OPC UA cross-platform machine to machine communication protocol, allowing you to read and write exposed project Tagsand $ Functions through OPC UA client applications on the network.
  - TwinCAT - Interact with Beckhoff® TwinCAT® 2 or 3 software systems through the ADS/AMS protocol by setting up a TwinCAT client device in Cognex Designer, and performing synchronous or asynchronous read/write operations through TwinCAT tags and $ functions.
- FTP Client Support - Avoid local storage limitations by setting up an authenticated FTP connection in the Project Explorer, and uploading acquired images to a remote FTP server with the enhanced Image Recorder task block.
- Image File Device Enhancements - Get a better picture of simulated image acquisition by utilizing the enhancements of the Image File device. Use the new device tags in tandem with the Watch list window to get up-to-date information on the number of images used for emulation, the currently loaded image, and more.

## Cognex Designer 4.1 PR2 Release

Cognex Designer 4.1 PR2 introduces multiple new or changed capabilities since the previous generally available (GA) release (4.0). For a brief summary of key features in this release, play the video.

Click here to launch in a separate window.

- Supports VisionPro 9.5
- Performance Monitoring - Browse performance statistics relating to your Cognex Designer application's task execution time, memory usage, and garbage collection details, using the Analyzing Application Performance with Performance Profiler, which runs and monitors tasks in a project and produces a report and CSV file. See a breakdown of block execution times in a succinct bar-graph format by Displaying Block Time Performance Data
- Efficient, Less Disruptive Garbage Collection - The Resource-intensive Dynamic Garbage Collection present in releases 4.0.0 and before has been deprecated. Settings have been changed to allow Background Garbage Collection which can lessen performance impact. This new Garbage Collection setting is enabled by default for all new projects. See the Scheduling Garbage Collection topic for more information.
- Performance Tuning - Tune performance metrics by Scheduling Garbage Collection and implementing processor Load Balancing Using Core Assignments.
- Graphics Consolidation - Combine multiple supported graphics and image formats into a single CogRecord for convenient and efficient processing in Cognex applications. See the VisionPro Tool Block Graphics Options topic for complete details.
- Project Types - Cognex Designer now supports drastically Accelerating Development With Predefined Project Types. With a single click, launch a fully defined project template that can be quickly customized. Project Types enable you to spend more time developing vision applications and less time creating HMIs or writing scripts.
- Getting Started Tutorials - Walk through every phase of creating a standalone Vision Application with the new Getting Started documentation section that lets you learn at your own pace, with only the content that applies to your needs.

## Cognex Designer 4.0 Release

Cognex Designer 4.0.0 introduces multiple new or changed capabilities since the previous generally available (GA) release (2.7). For a brief summary of key features in this release, play the video.

Click here to launch in a separate window.

- Supports VisionPro 9.3
- Supports Cognex ViDi Suite - Supports Cognex ViDi Suite, which enables Deep Learning programming within Cognex Designer. The ViDi Suite is a separate product and requires an additional license and installation. Please see the Cognex Deep Learning-based Image Analysis page or contact your sales representative for more information about the ViDi Suite optional plug-in for Cognex Designer.
- WebHMI - With WebHMI, access your deployed application through a standard browser, enhancing user productivity. Run your remotely hosted applications, free from the constraints of local sites and domains. Drag and drop a display or viewer object on customizable Web Pages and bind objects to any tag, function, or query. Create your own scripts to add advanced functionality to your WebHMI applications. Deliver your vision application securely with support for Web authentication and set timeout values for your WebHMI log-ins. For more information, see WebHMI: A Functional Overview.
- Improved IDE and New Graphical Editing Shortcuts - Featuring a high-resolution rich-text interface, ability to add multi-line text to labels, and other convenient graphical shortcuts for Working With Task Blocks and Working With Script Blocks.
- Localization - Manage multiple-language translations from a single interface with Project Localization.
- Launch Page - Use the Cognex Designer Launch Page to quickly open new projects, saved projects or sample projects with a few mouse clicks.

## Cognex Designer 2.7 Release

Cognex Designer 2.7 introduced multiple new or changed capabilities since the previous generally available (GA) release of Designer (2.6):

- Supports VisionPro 9.2
- No longer supports x86 (32-bit)

Resolved Issues in Designer 2.7

CR# | Issue
--- | ---
44464 | Serial device not correctly processing byte data

## Cognex Designer 2.6 Release

Cognex Designer 2.6 introduces multiple new or changed capabilities since the previous generally available (GA) release of Designer (2.5):

- Supports VisionPro 9.1
- Supports .NET Framework 4.6

Note: This primarily affects plugin developers.

Resolved Issues in Designer 2.6

CR# | Issue
--- | ---
41629 | Fixed an issue, where a tag exposed in a VisionPro ToolBlock got into an invalid state and caused start up error.
40523 | Fixed an issue with obfuscation that prevented custom Plugins being developed using Visual Studio 2015.

## Cognex Designer 2.5 PR5 Release

Cognex Designer 2.5 PR5 introduces multiple new or changed capabilities since the previous generally available (GA) release of Designer (2.1):

- Update Properties of RS232 and TCP/IP Devices

  The right-click menu for RS232 and TCP/IP Devices has been updated and now includes a Reconnect option, which allows you to reconfigure the properties of a previously connected device.

  In addition, the properties of RS232 devices can be updated programmatically, while at runtime.

- Updated VisionPro Display 3D and New VisionPro Display 3D Status Bar

  The VisionPro Display 3D has been updated with the new control introduced in VisionPro version 9.0, and the VisionPro Display 3D Status Bar element has been added as a new control in Designer 2.5.

- Find/Replace Dialog for the Script Editor

  A Find and Replace dialog has been added to the Script Editor, using the Script Editor Keyboard Shortcuts.

- Minimize the Window of Deployed Applications

  The Windowed Mode parameter has been added to the Deployment Options dialog, which determines whether or not the deployed application window can be minimized.

- Add External Assemblies to Designer Projects

  The ability to add custom or 3rd party DLL/.NET assembly references to your project, which allows you to create tags of any data type, through the External Assemblies tab of the Project Settings dialog, and the Script References dialog (see the Adding References topic for more information).

- Longer Security Operation

  The Designer security mechanism has been modified to last 8 hours when using a Cognex USB Development Dongle.

- New Database Sample

  A new sample project has been added to the Cognex Designer Launcher - Samples tab, showing examples for implementing and using databases in Designer.

- The Cognex Designer User Guide Improvements

  The Cognex Designer User Guide has been overhauled, with a new Table of Contents and numerous new topics, including new How To... topics.

- Resolved Issues in Designer 2.5 PR4

  CR# | Issue
  --- | ---
  41339 | Fixed an issue when loading an older project whose PropertyDefinition is set to null. Now, when loading a project with a ConfigurableBlock that has a PropertyDefinitions property set to null, it will be converted to an empty array.
  41311 | Fixed an issue present in Designer 2.5 PR1, PR2 and PR3 that affected custom plugins, in which a published property in an abstract class would not be detected.
  39276 | Fixed an issue when loading projects in Designer 2.5 that were created in Designer 2.0, which resulted in Designer 2.5 closing unexpectedly.
  38936 | Fixed an issue with the Format PLC Output Data block throwing a "Specified cast is not valid" error, when migrating a project from Designer 2.0 to 2.5.
  39283 | Fixed an issue when a Cog3DPlane value was saved as a persistent tag. The value is now saved and restored correctly.
  39528 | Fixed an issue with Data Change scripts which could cause a "The data change script is no longer connected to a tag." error message.
  38292 | Fixed an issue when loading large projects; the Designer application could take additional time to startup while the project was loaded.
  36625 | Fixed an issue with an Out of Memory - Value of an input and output pin in a Sub Sequence block was saved in a project file.
  36505 | Fixed an issue where an Unhandled Exception was encountered when logging in via Remote Desktop to a Vision Controller while a Designer project was running.
  36510 | Fixed an issue with a possible deadlock on long running image inspection tasks.
  36507 | Fixed an issue with a Parallel region Task 'InvokeAsync' error.
  35185 | Fixed an issue with deployed applications, which showed script compile errors at startup: "Could not write to output file 'C:\%TMP%\z13st3bc.dll', The process cannot access the file because it is being used by another process."
  35503 | Fixed an issue with a project freezing when a Sequence was run, and a VisionPro Tool Block is open.
  35568 | Fixed an issue where changing the SelectedItem property in one SelectionBox would change the SelectedItem property in an unrelated SelectionBox.
  35723 | Fixed an issue where Designer would crash when using a CogPMAlignTool on the Vision Controller.
  36168 | Fixed an issue where the Tag Browser would open slowly if there were more than 1000 tags.
  36165 | Fixed an issue where disconnecting a camera would cause any links to the associated Camera block to be broken.

## Cognex Designer 2.1 PR1 Release

- Updated Project File Format

  The file format of Designer projects has been modified, and when projects developed in previous versions of Designer are opened and loaded in Designer 2.1, they will automatically be converted to the new format.

- Sub Sequence Blocks now Allow Input/Output Pins

  The Sub Sequence block has been updated and modified, and now contains internal and external input and output pins to help configure a Sequence.

- Updated Data Type Selector

  The Data Type Selector has been updated and modified, and now also contains the ability to create data type arrays and/or generic data types with the Complex Type Selector.

- Create Arrays

  The ability to create single-dimensional and multi-dimensional arrays of data has been added, through both the Complex Type Selector and in the Expression Builder. This allows Designer to pass groups of related data around a project. For example, transferring arrays of integers, doubles or CogBlobResults from one Sequence block to another.

- Updated Template File Format

  The file extension for the template files has been updated, from .cdt to .cdtx. Please see the Templates topic for more information about the file format change.

- Updated Recipe File Format

  The file format for Recipes has been modified.

- Updated Keyboard Shortcuts

  The following keyboard shortcuts have been introduced:

  - CTRL+S: Saves a project.
  - F1: Opens the Cognex Designer User Guide.
  - F2: Used to rename a node in the Application Explorer treeview.
  - F5: Used to start and stop Test Mode.
  - F6: Executes the current Sequence, or compiles the current script (depending on which editor is active, e.g. the Sequence Editor or the Script Editor).

- Resolved Issues in Designer 2.1

  CR# | Issue
  --- | ---
  | Added the ability to create arrays of data using the Complex Type Selector, and basic functions to handle arrays in the Expression Builder.
  33190 | Added keyboard shortcuts to Designer for saving a project (CTRL+S), opening the Cognex Designer User Guide (F1), renaming a node in the Application Explorer treeview (F2), starting and stopping Test Mode (F5) and executing the current Sequence or compiling the current script (F6).
  34614 | Added "String.FormatNumber(value, decimals)" for formatting a double value data type in the Expression Builder.
  34432 | Added the RunAsync(...) function to the Task functions, which allows a Task to be run asynchronously from a script, using the following format: $Tasks.Task.RunAsync(..);
  34416 | Added the ability to publish the recent query results from a database query, through a tag, using a script.
  34410 | Added the ProductVersionString tag, which retrieves the project version information so it can be used programmatically or displayed on the HMI.
  32640 | Fixed an issue where a memory leak was possible during development when a mouse hovered over a pin storing an image.
  32709 | Fixed an issue where a 2D Image Display would be resized when going into Test Mode.
  32814 | Fixed an issue where custom splash screens were not displayed.
  34389 | Fixed an issue where two Script blocks, pointing to the same script, changes in one block were seen by the other block.
  34395 | Fixed an issue where the Tag Manager would not detect a circular tag reference.
  34407 | Fixed an issue where importing tags using CSV files caused an error in some cases due to a missing default value. Tags that were exported with null values will not be able to be imported in Designer 2.1 and later.
  34458 | Fixed an issue where having two tags written to by different Tasks, and binding their sum to a Label, could cause Designer to not respond.
  34470 | Fixed an issue where a TCP/IP Client device would not reconnect after the server shuts down and reopened the connection.
  34809 | Fixed an issue where VisionPro Tool Blocks that share the same input image tag may have crashed when executed in parallel.
  34901 | Fixed an issue where the Expression Builder bitwise operators do not work.

## Cognex Designer 2.0 Release

- Tasks, Sequences and Blocks

  The following enhancements have been implemented. For more information on them, see the Sequence Blocks topic.

  - New Sequence Blocks have been created to make byte array handling easier. These can be used when using the UserData from the FFP on the Cognex Communications Card:
    - Format PLC Input Buffer
    - Format PLC Output Buffer
  - New Sequence Blocks have been created for composing and decomposing arrays, and for retrieving an element of an array, to make the handling of general arrays easier:
    - Compose Collection
    - Decompose Collection
    - Get by Index
  - New String Encoder and Decoder (to/from byte array) Sequence Blocks:

    - Decode Byte Stream Data

    - Encode Byte Stream Data
  - The Notify PLC has been improved to allow setting up the input values directly on the Configuration UI and add a graphical interface to setup complex input values.
  - New Sequence Blocks have been created to “manually” schedule and cancel a (scheduled) PrecisionIO event:
    - Cancel Event
    - Schedule Event

- Communications

  New Sequence Blocks have been created to make possible using COM port and TCP/IP communication without scripting:

  - Decode Byte Stream Data

  - Encode Byte Stream Data
  - Receive Data
  - Send Data

  Support for SLMP Protocol, similar to existing EIP and PROFINET support, has been added. For more information, see the SLMP PLC Setup topic.

  Added a UI to be able to configure Precision IO events (causes and responses) for the Cognex Communications Card. For more information, see the Precision IO Configuration Editor topic.

- Templates

  It is now possible to import and export components from a project into a user library and that can be easily re-used in another project. For more information, see the Templates topic.

- Expression Builder

  The Expression Builder has been revamped. It is recommended to run a project verification that should identify any expressions that are no longer compatible.

  Known differences since v1.0:

  - Equality comparison between an object and a string used to perform string comparison (e.g. converting the object to string first), allowing expressions like: $myBoolTag="True". This is no longer allowed.
  - Numeric values were compared as integers, e.g. 3.14 = 3 evaluated to true. This has been fixed.
  - The old expression builder was culture-dependent (for example, decimal separators). The new one uses culture-agnostic parser.

  For more information, see the Expression Builder topic.

- Updated Plugins and Projects

  It is now possible to automatically update a project to a newer version of a plugin it depends on. For more information, see the Updating a Designer Project To a Newer Version Of The Plugin It Uses topic.

- Designer Launcher Enhancements

  The Designer Launcher has been enhanced with two tabs, Samples and Utilities. For more information on them, see the The Cognex Designer Launcher topic.

- Opto and Differential Trigger Signals

  Switching between trigger signals no longer requires scripting. See the Switching Between Opto- and Differential Trigger Signals topic.

- Resolved Issues in Designer 2.0

  Issue | Description
  --- | ---
  Designer gives an error about the SQLite database | Third-party applications may install (against SQLite guidelines) the System.Data.Sqlite.dll into the Global Assembly Cache (GAC). This could cause Designer to show the "Visual C++ Runtime Error" message.
  Memory error while saving | This occurred while working with unusually big images and objects.
  Changing the name of a Tag assigned to a Pin is not updated in Sequence Editor | When a Tag assigned to a Pin was renamed, the displayed Tag name in Sequence Editor was not updated/renamed.
  HMI builder hangs when using an ungroup command | The HMI builder hanged when two or more HMI elements were grouped, and an additional element (type already existent in the group as well) was created and then the grouped elements were ungrouped.
  DS1100: The laser does not shut down when the user exits from Designer | It was possible to enable the laser in Acquisition Wizard and then exit Designer with the laser on.
  Project file is corrupt and asks for a password when loading | The saving process had to be enhanced to prevent accidental effects on the project file.
  Unhandled exception when closing Designer and a connected device is being renamed | When Designer was closed while a connected device was being renamed the application threw an unhandled exception.
  Replacing and renaming tags stop working after saving and reopening the project | Replacing and renaming tags in scripts did not work after saving and reloading the project until the scripts were recompiled.
  The Save As functionality does not transfer necessary files | When Save As was used to save an existing project under another name/path, only the .cdp file was copied/renamed to the new location. This function has been enhanced to copy all files and subdirectories from the original project path as well.

## Cognex Designer 1.0 PR1 Release

The Cognex Designer 1.0 Patch Release 1 did not contain any new features compared to version 1.0, only enhancements to existing features and resolved issues.