You can check your model for syntactical and methodical accuracy using single verifications you have programmed yourself. You can integrate these single verifications into the Model Verification Wizard using a verification action.
When using a model, the quality of the model is crucial. However, there should be no constraints on the modeler when creating a model. Especially when the modeling is being carried out in a team, it is necessary to ensure the model quality. Automated model verification is therefore necessary, which verifies the entire model or a section of it in accordance with set rules.
The person setting up the verifications creates a verification action which is available in the wizard to all model users (but not to the model guest). The localized name of the verification action and the localized description are shown in the Model Verification Wizard based on the interface language set ($INOLANG).
A verification action comprises single verifications that can be grouped by function.
A single verification can be a verification for a particular customer, programmed in a .NET language or in Java. You can also integrate verification routines as single verifications.
In order to be able to use a verification action, it must be contained in the configuration. The verification configuration can contain multiple verification actions.
The configuration is contained in the $INODIR/inoverify.xml file.
An example of the file is as follows:
The file must be manually maintained by the person setting up the verifications. Following any changes to the file, Innovator must be restarted so that the changes can take effect; this is because the configuration is only read by Innovator on start. The schema is contained in the $INODIR/inoverify.xsd file. The schema determines the namespace (XML-Namespace http://www.mid.de/inoverify.
The following can be configured on the verification configuration (XML element VerificationConfiguration):
The following can be configured on the verification action (XML element VerificationAction):
The following can be configured on a verification group (XML element VerificationGroup):
For the localized text, in each case the English text can be maintained in the subordinate XML element English and the German text can be maintained in the subordinate XML element German.
For a generic single verification programmed in a .NET language or in Java, you will create an XML element SingleVerification with the attribute xsi:type=JavaGenericVerification or xis:type=[Name of C# class]. Here you can configure the following:
Help>Info, for example (XML element MetaType)
For a verification programmed in Java that is not generic, create an XML element SingleVerification with the attribute xsi:type=JavaVerification. Here you can configure the following:
For a verification routine, create an XML element SingleVerification with the attribute xsi:type=VerificationRoutine. Here you can configure the following:
For the localized text, in each case the English text can be maintained in the subordinate XML element English and the German text can be maintained in the subordinate XML element German.
Prerequisites
Context
The Verification Manager can now be started using an engineering action in Innovator. It can only run for Java verifications and is not integrated into the user interface for Innovator. You should therefore transfer from the Verification Manager to the Model Verification Wizard. The switch is simple: If the person performing the verification is to use the Model Verification Wizard instead of the Verification Manager, you can prepare the existing verifications for the Verification Manager for use in the Model Verification Wizard during setup. The single verification programmed in Java can remain unchanged. A verification configuration for the Model Verification Wizard is automatically created from the existing configuration files for the Verification Manager.
How to proceed
Select the Review>Verify Model>Verification Wizard menu item.
The verification wizard opens and you can select the scope of the model elements to be verified.
Select The current selection.
On the next page you can select the verification methods. You will see a migrated verification action for each verification profile of the Verification Manager in the Run Verification Action section. The verification configuration has been saved in the temporary directory, in the file inoverify.xml.
Prerequisites
You have a programmed single verification saved as DLL. Any .NET language can essentially be used for implementing the DLL. The examples use the language C#. The DLL file, with a name ending in "Verification", is in the Innovator installation directory, in the $INOEXE/Plugins directory.
Context
As the person setting up verifications, you want to set up the programmed single verification for use by others.
How to proceed
Prerequisites
You have a verification routine that is to be run by someone else, either in combination with other verification routines or in combination with single verifications.
Context
The person carrying out verification can also run the routines directly or can select them directly in the Model Verification Wizard. Here we are dealing solely with the combination of the verification routine with other single verifications or other verification routines.
How to proceed
© 1986-2014 MID GmbH Nuremberg Germany. DIN EN 9001 certified. All rights reserved.