DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem 2020 - Analysis script does not trigger automatically

Hi Deepak,

could you please double check, whether for the DataFinders which are not working in the index settings the option "Notify Analysis Automation instances about new or changed files" is checked?

EvaW_0-1612443640840.png

Thanks,

Eva

0 Kudos
Message 11 of 19
(1,419 Views)

Hi Eva,

 

The option is turned ON (check box ticked).

 

notify_analysis_automation.JPG

 

Thanks,

Deepak

0 Kudos
Message 12 of 19
(1,410 Views)

Hi Deepak,

 

First of all, you are right that if you are using SystemLink 20.0 (2020 R1), then you do NOT need to worry about the Workspace/Role permission features introduced in SystemLink 20.1 (2020 R2) which were vexing JKSH.  Your symptoms which sound similar on the surface must be coming from a different cause.

 

If you have the option to upgrade to SystemLink 2020 R4, then I would strongly recommend it.  There's a chance that it will fix the triggering issue you're reporting, but in general each version of SystemLink has been more reliable and easier to use than the previous versions.  Upgrading to 2020 R4 should improve your experience with SystemLink overall.

 

Brad Turpin

Principal Technical Support Engineer

NI

0 Kudos
Message 13 of 19
(1,397 Views)

Hey Deepak,

 

Would you please upload a data file or two that fails to trigger the Analysis Server task, along with the ANP file that the task is calling?  I'd like to perform a sanity check on the query filter that the task is applying on each data file in order to determine whether to react to it.

 

In the configuration page for Analysis Automation, under Systems notifications, do you see the trigger events from the DataFinder file indexing? If so, what is the Notification message (double click the cell to see the complete message)?

Brad Turpin

Principal Technical Support Engineer
NI

0 Kudos
Message 14 of 19
(1,389 Views)

Hi Brad,

 

Attached zip files contains an example file and ANP file. 

The example file might error out when running the analysis since it is stripped down version but you should still be able to test if the analysis is being triggered.

 

Thanks,

Deepak

0 Kudos
Message 15 of 19
(1,374 Views)

Hi Brad,

 

Did you have a chance to look at the ANP file?

 

Thanks,

Deepak

0 Kudos
Message 16 of 19
(1,347 Views)

Hi Deepak,

 

Are these data files that are not triggering analysis tasks being put in a folder that starts with "\\TDM_Server\ather-dev-tdm-data\Durability\PCN\Processed_Data\*"?

 

Are these data files that are not triggering analysis tasks still queryable from the DataFinder, say with a DIAdem query?

 

I want to start by excluding the simple explanations.

 

Brad Turpin

Principal Technical Support Engineer

NI

0 Kudos
Message 17 of 19
(1,342 Views)

Hi Deepak,

 

When I run your *.ANP file in DIAdem simulation mode, using the analysis_test.tdms file you sent, it throws an error on line 71, because there is no "DAQ" group in that data file.

 

When you say that the Analysis task fails to trigger, could you perhaps mean that it starts but throws an error instead of creating the desired report file(s)?

 

Brad Turpin

Principal Technical Support Engineer

NI

0 Kudos
Message 18 of 19
(1,339 Views)

Hi Brad,

 

The error is expected since the TDMS data attached is not well formatted.

The issue is that the error you see comes up only when the analysis itself is triggered which in my case is not happening when I setup a Triggered Task.

On the other hand, if I create a Manual task and run it, it does throw the error which at least means the analysis script is executing.

 

dmurthy_1-1614682926625.png

 

 

dmurthy_0-1614682772433.png

 

Thanks,

Deepak

0 Kudos
Message 19 of 19
(1,325 Views)