Use analysis automation procedures (.anp ) to perform recurring
analyses with similar data in Analysis Automation and export the
results as PDF or graphics file. Analysis automation procedures contain the analysis script,
the parameter definition, and the search query for the data you want to analyze. You create
analysis automation procedures in DIAdem.
-
Open
DIAdem SCRIPT.
-
Select
.
-
Click
New Analysis Automation Procedure.
-
Create the new analysis automation procedure:
-
Enter a name, description, and author of the new procedure.
-
Choose Python or DIAdem
(VBS) as your programming
Environment.
-
Click OK.
-
Define the data for analysis on the
Search Query tab.
-
Check
Data filter enabled to define the search query. For example, make the following settings to limit the analysis to TDM files:
Level
|
Property
|
|
Value
|
File
|
DataPlugin name
|
=
|
TDM
|
-
Use the Parameter Definition tab to define the
parameters and initialization values. You can still change the value of the
parameters when defining the task in Analysis Automation.
Use the Context object in the analysis script to access the
parameters. Refer to the DIAdem help for more information about which objects to use from the
SystemLink API.
-
Select the
Analysis Script tab to edit the analysis script and add more files to the analysis automation procedure configuration.
-
Specify the
Evaluation mode.

Note
The setting
Parallel evaluation: Each retrieved element is processed individually is only available if you have enabled the data filter on the
Search Query tab.
-
Select the main.vbsa or the main.py and click
Edit Selected File.
-
In the configuration dialog box, click
to continue
configuring the analysis automation procedure.
-
Optional:
Click Add File to Analysis Automation Procedure if you
require additional files in the analysis script.
-
Select
Save Analysis Automation Procedure As.
Add the analysis automation procedure to the
Analysis Automation Procedures Library in
Analysis
Automation.