DIAdem Help

Method: RegisterDataPlugin for Settings <Navigator>

  • Updated2024-09-12
  • 1 minute(s) read

Method: RegisterDataPlugin for Settings <Navigator>

Registers a DataPlugin in DIAdem.

bRegisterDataPlugin = Object.RegisterDataPlugin(UriFileName, SilentMode)
ObjectSettings <Navigator>
Object with this method
UriFileNameString
Specifies the path and the name of the URI file to be registered.
SilentModeBoolean
Specifies whether DIAdem displays a message (FALSE) or not (TRUE) when registering or overwriting a DataPlugin.
bRegisterDataPluginBoolean
Returns whether DIAdem registered the DataPlugin successfully (TRUE) or not (FALSE).

Note  You can double-click the associated uri file to register a DataPlugin.
The following example registers the NMEA-GPS DataPlugin and displays a message:

VBScriptPython

 

Call Navigator.Settings.RegisterDataPlugin("c:\ProgramData\National Instruments\Shared\USI\Plugins\DataPlugins\Audio\upsAudio.uri" ,FALSE)