DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DataPlugin exit status for DataFinder

Hi all, I'd like to know if there's a return value that can be send from a Data Plugin to Data Finder in order for it to keep trying other plugins associated to a file type. I don't think an Exit Sub will do the trick, or will it?

0 Kudos
Message 1 of 3
(5,312 Views)

Call RaiseError will tell the DataFinder that the current data file cannot be loaded with the current DataPlugin, so the DataFinder will try other DataPlugins.

Is this what you are looking for?

0 Kudos
Message 2 of 3
(5,294 Views)

DataFinder tries all DataPlugins registered for a specific extension to index a specific file.

The first successful DataPlugin will be used for displaying in the tree view of DIAdem.

Searching will always take all indexed information from all DataPlugins into consideration.

DataPlugins should use RaiseError (with no parameter) to define a specific file as not being of the DataPlugins file type ("not my file").

DataPlugins should use RaiserError <ErrorText> in case the file is of the expected file type, but containing false data.

0 Kudos
Message 3 of 3
(5,279 Views)