Generating and examining a library or password-protected library
How to create a library:
Select the library configuration based on which you want to generate the library.
Recommended for a logi.CAD 3 library: Validate the library based on the library configuration.
logi.cals recommends you to start this validation relating to the library for a logi.CAD 3 library yourself because this validation is not automatically started in all variants of logi.CAD 3 due to performance reasons. In contrast, the validation relating to the library is automatically started when a logi.SAFE or logi.WEB library is generated.For the generation and examination of the library (= for the automatic validation), select one of these possibilities:
the command Generate Library within the context menu of the library configuration
the command Generate within the context menu of the library to be generated (the library is visible as a sub-level of the expanded library configuration in the project explorer)
the command Generate (Password Protected)... within the context menu of the library to be generated
Use this possibility to additionally deploy the sources of the library elements within a password-protected library. See " Deploying sources in a password-protected library " for the differences between the generation possibilities.
Make sure that the library has been generated correctly:
Check the messages within the Error Log view to make sure that the library has been generated.
If the validation has been started by yourself or automatically: Check the messages within the Validate: object name view and make sure that no rule violations have been detected. If some are listed, fix these rule violations and validate/generate the library again.
If the library generation report is generated in your variant of logi.CAD 3, you are able to use this report to make sure that the library has been generated with the correct library elements.
Observe the following: Older files for a library (with the same name and the same version) are automatically deleted. This deleting action is even done, if the new file could not be generated. Hence, logi.cals recommends to change the version number within the library configuration before each generation of a library.
logi.CAD 3 provides a tool for the automated building, deploying and verifying of the library.
Location of the library and of other files
logi.CAD 3 generates:
the library within the sub-folder target of the project
the report for the validation examination within the same folder as the library configuration
Details on the report: See under "Results of examination in Validate view".the library generation report (in HTML as well as XML format) within the sub-folder target of the project – the name of this report is: library__version.buildreport.html and library__version.buildreport.xml
This report contains information on the library, such as which library elements are included and what is their test coverage. The generation of this library is not provided in all variants of logi.CAD 3.
By default, the folder target is not displayed in the project explorer. How to display the folder target in the project explorer: Click in toolbar of the project explorer and select Filters and Customization... In the dialog, uncheck target folder (under Filter) and click OK.
If you want to verify whether a library has been changed since its generation, there is a possibility to use a command line interface based on files that are additionally generated for the library. Contact logi.cals, if you would like to have more information on this possibility.
Contents of the library
The content is generated according to the specifications of the library configuration. The library configuration itself is also copied into the library.
Mind that logi.CAD 3 might generate files with file extension .iecst (instead of the files with the original file extension, such as .iecfbd), if the value INTERFACE or OBJECT has been specified for the keyword DEPLOY concerning the respective POU (e.g the FBD-POU). More information on this change and the other contents of the library (e.g. the automatically created folders) can be found in one of the following articles: