DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get data type out of DataPlugin

Solved!
Go to solution

Hi everyone,

 

I have created a program, where the user needs to select a DataPlugin first and chooses the files he wants to load in afterwards. In order to filter the files that can be chosen, I need a way to read the supported data type out of the DataPlugin. Is there any way to do that in DIAdem Script?

 

Many thanks for your help and best regards,

Jakob

0 Kudos
Message 1 of 3
(2,752 Views)
Solution
Accepted by topic author jakob.griebenow

The following code shows a way to read the supported file extensions of DataPlugins which support loading:

Dim plugin, msg
for each plugin in Navigator.Settings.RegisteredDataPlugins
if plugin.IsLoadingSupported then
msg = msg & plugin.Name & ": " & plugin.FileExtensionList & vbNewLine
end if
next
MsgBox(msg)

Is this what you are looking for?

Message 2 of 3
(2,744 Views)

Exactly!

 

Thanks a lot and best wishes,

Jakob

0 Kudos
Message 3 of 3
(2,737 Views)