Create a DataPlugin to load, to register, or to search your own file formats in LabVIEW or DIAdem, or to index and to browse your own file formats with DataFinder.
DataPlugins can be created by using C++, VBS or LabVIEW. This programmer’s reference guide is about VBS DataPlugins. Even if you are a LabVIEW programmer it is worth looking into VBS DataPlugins. You don’t need to become a VBS guru – it’s simple.
VBS DataPlugins are based on a script that reads data from a file and use a special interface to provide the data to LabVIEW, DIAdem and DataFinder. This interface provides to you, the programmer, a powerful and easy-to-use set of functions to work with ASCII, binary or spreadsheet (Microsoft Excel 2007, 2010, 2013, 2016 and OpenOffice.org) files.
The programmer’s reference guide provides general information and details on objects, methods, and properties. Use the examples included in this help to practice working with DataPlugins and to learn about the possibilities that DataPlugins offer.
The best way to edit a VBS DataPlugin is the Script editor integrated in DIAdem. TheScript editor offers correct CodeCompletion and syntax coloring for editing VBS DataPlugins. Other text editor can also be used – a VBS DataPlugin is just an ASCII file.
VBS DataPlugins are deployed with a URI file (USI Registration File). A URI file is self-contained and can be created using LabVIEW, DIAdem or DataFinder.
To install a VBS DataPlugin on another computer, copy the URI file to that computer, open Windows Explorer, and double-click the URI file. The DataPlugin is installed and appears in the list of DataPlugins in LabVIEW, DIAdem, DataFinder and SystemLink TDM.
To debug VBS DataPlugins, please refer to this KB:
How Can I Debug DIAdem User Dialogs (SUD) and DataPlugins?
This programmer’s reference guide relates to the following NI software:
Please be aware of the right document selection related to your software version.
The current version is "2019 DataPlugin_Help".
Note on DataPlugin Download (bottom of this page):
CHM files are compiled HTML help files for Windows. Usually you just have to double-click the files to open them. If you open a CHM file and get an empty site or a message such as "Action canceled", "This page cannot be displayed", read the following tips:
Downloads