Creating and using snapshot libraries and finalized libraries

A snapshot library differs from a finalized library as follows:


Snapshot library

Finalized library

Usage

A snapshot library is being tested. It is not released for appropriated use yet.

A finalized library is released for appropriated use (e.g. by colleagues).

Difference within the library configuration

Enter any sequence of numbers with the suffix -SNAPSHOT as version number.
Example: VERSION := 1.1.0-SNAPSHOT;

Enter any sequence of numbers as version number.
Example: VERSION := 1.1.0;

Behavior oflogi.CAD 3

An installed snapshot library is updated by logi.CAD 3 (see below for details).

A finalized library keeps the same content as it was when it has been installed.

Possible library providers

Local file system

See "Library provider and library cache".

logi.cals recommends to create and deploy snapshot libraries only as long as these snapshot libraries are tested. Reason: Updating snapshot libraries might prolong the opening/importing of the project and the start of logi.CAD 3.

Recommended procedure for creating and using

The following lists a condensed version of the steps only. Details on how to create/provide/install libraries can be found in the article "Creating and deploying a custom library". Details on how to deinstall libraries can be found under "Deleting already deployed libraries".

Creating/changing the snapshot library

  • Within the library configuration, define the version number for the snapshot. Example: VERSION := 1.1.0-SNAPSHOT;

  • The first set of the snapshot library is created, deployed and installed within a test project.

  • Necessary for each set of the snapshot library:

    • The library configuration is changed (e.g. a new POU is specified within the library configuration). The version number is not changed.

    • The new set of the snapshot library is created and deployed.
      It is not necessary to install the snapshot library anew within the test project Reason: logi.CAD 3 is automatically updating the installed snapshot library when the project is opened or imported or when logi.CAD 3 is started.

Changing from a snapshot version to a finalized library

  • Within the library configuration, the version number must be changed. Example: VERSION := 1.1.0-SNAPSHOT; becomes VERSION := 1.1.0;

  • The first version of the finalized library is created, deployed and installed within the required project.
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg If you want to use the finalized library within the test project, deinstall the snapshot library within the test project before you install the finalized library.

Changing from a finalized library to a snapshot version

  • Within the library configuration, the version number must be changed. Example: VERSION := 1.1.0; becomes VERSION := 1.2.0-SNAPSHOT;

  • The set of the snapshot library is created, deployed and installed within a test project.

  • Necessary for each set of the snapshot library: See under "Creating/changing the snapshot library".