08-19-2008 01:45 PM
Hi There,
Is there a way to remove the registered dataplugin from the DAIdem programtically. Like we can register a plugin calling ExtProgram(), similarly is there any command to remove the plugin?
FYI, I am working with DIAdem 10.2 version.
Waiting for your earliest response.
Priya
Solved! Go to Solution.
08-19-2008 02:43 PM
Hello Prija!
It is possible with the NI usireg tool and its '/u' option.
Try this code (please adapt the path to the URI file):
Call ExtProgram("""" & ProgramDrv & "..\Shared\USI\Bin\usiReg.exe""", "/u /v ""C:\SIF.uri""")
Matthias
| Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
08-19-2008 04:29 PM
Hi Matthias,
Thanks a lot for your quick reposnse. It did help me.
Priya
04-24-2017 03:45 AM
There is another way to remove dataplugin, i am doing it this way:
If FileFilterExist("XLS_AutoLimCurve") Then
Set oFSO = CreateObject("Scripting.FileSystemObject")
sPluginsLocalPath = "C:\ProgramData\National Instruments\Shared\USI\Plugins\DataPlugins\"
Call Navigator.Settings.RegisteredDataPlugins.Remove("XLS_AutoLimCurve")
If oFSO.FolderExists(sPluginsLocalPath & "XLS_AutoLimCurve") Then Call oFSO.DeleteFolder(sPluginsLocalPath & "XLS_AutoLimCurve")
End If
04-24-2017 04:14 AM
Thanks Lukas for sharing this information.