The Plug-in class, Plugin.lvclass, is the parent class for plug-ins created with the FlexLogger Plug-in Development Kit. It provides the state management functionality for the plug-in by inheriting from Processing Element.lvclass. The Plug-in class also provides methods to define and interact with plug-in channels and parameters. After initializing the channels, the Plug-in class maintains channel information that correctly reflects the state of the plug-in channels in FlexLogger.

The Plug-in class supports double-precision floating point numbers, strings, enums, Booleans, and integers as plug-in parameters. Plug-in parameters can be created using the Write Parameter VI, as shown in the following example:

Note

Do not call Add Channels multiple times from the same plug-in method as it causes parameter settings to not save correctly.