Example Code

Automatically Updating Plugin Listbox With Callback Using .NET FileSystemWatcher

Code and Documents

Attachment

This example is based on the plugins example that ships with LabVIEW located in examples\viserver\plugins.llb\Plug In Example.vi.

I altered it to use a callback on the Windows FileSystemWatcher object to detect when new vi's are added to or removed from the Plugins directory. The plugins listbox is automatically updated with the front panel title of each vi.

=====================
LabVIEW 2012


Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors