DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove faulty Data Plugins?

As the subject line says...

 

i've made several data plugins using the Data plugin wizard but they are usually when i'm experimenting or troubleshooting a .dat file.

i cannot find a way to get rid of them, and Diadem appears to try to use them alphabetically based on their name.

 

i found the parent directory of Data Plugins here:

 

"C:\ProgramData\National Instruments\Shared\USI\Plugins\DataPlugins"

 

but there must be some registry of them because it keeps trying to open by files with those junk plugins i created when i was learning.

 

anyone have any suggestions?

 

 

Nevermind! Got it.

 

Settings - Extensions - Data Pluggins...

 

now i need to figure out how to delete this post.

0 Kudos
Message 1 of 2
(1,105 Views)

Here is a simple script to list the DataPlugins installed, and then delete one of them by name:

 

Spoiler
Dim oDataPlugin, sDataPluginNameToDelete
'Edit below to the name of the DataPlugin you want to delete,
'or run script and all DataPlugin names will be written to the LogFile.
sDataPluginNameToDelete = "CSV_ProofOfConcept"
'Show all of the DataPlugin names...
Call LogFileWrite("DataPlugin Type" & String(1,vbTab) & "DataPlugin Name" & String(2,vbTab) & "Filename Extensions")
For Each oDataPlugin In Navigator.Settings.RegisteredDataPlugins
Call LogFileWrite(oDataPlugin.Type & String(1,vbTab) & "'" & oDataPlugin.Name & "'" & String(2,vbTab) & oDataPlugin.FileExtensionList & "'")
Next
Call LogFileWrite(vbTab)
'Delete a data plugin named sDataPluginNameToDelete if it exists...
If Navigator.Settings.RegisteredDataPlugins.Exists(sDataPluginNameToDelete) Then
Call LogFileWrite("Removing DataPlugin: '" & sDataPluginNameToDelete & "'...")
Call Navigator.Settings.RegisteredDataPlugins.Remove(sDataPluginNameToDelete)
Call LogFileWrite("DataPlugin exists(" & sDataPluginNameToDelete & ") = " & Navigator.Settings.RegisteredDataPlugins.Exists(sDataPluginNameToDelete))
End If
0 Kudos
Message 2 of 2
(1,049 Views)