Getting Started with the Plug-In Creation Toolkit
- Mise à jour2023-02-17
- Temps de lecture : 3 minute(s)
Getting Started with the Plug-In Creation Toolkit
Refer to the following topics to learn how to use the Plug-In Creation Toolkit.
Installing Required Software for Plug-Ins
- Install the Plug-In Creation Toolkit from the Data Record AD GitHub Repository at https://www.ni.com/r/datarecord-devguide.
- Install any toolkits or drivers required by your sensors.
- Install VI Package Manager.
-
Install the following packages from VI Package Manager:
- OpenG File Library
- JSONText
- Caraya Unit Test Framework
Creating an I/O Plug-In from a Template
- Launch LabVIEW.
- Select .
-
Select .

- Enter a name and target directory path for the new plug-in.
-
Click Finish.
LabVIEW creates a project for your plug-in.
Customizing Plug-Ins
- Open the LabVIEW project for your plug-in.
- Select .
- Select Group by Bookmark.
- Examine each #CodeRecommended bookmark to locate areas of the code where you can customize the behavior of the plug-in.
Debugging and Testing I/O Plug-Ins
Each plug-in comes with an included default test case as part of the I/O plug-in template.
You should test each plug-in individually, if possible, but certain plug-ins must be paired with others before they will perform behavior that you can test. Refer to the Data Record AD GitHub Repository at https://www.ni.com/r/datarecord-devguide to learn more about writing functional test cases to test relevant plug-ins together.
Building I/O Plug-Ins
-
(Optional) Edit the plug-in properties to perform tasks such as adding source
file dependencies, modifying pre- and post-build actions, or adjusting
destinations.
-
Double-click the build specification for your plug-in to open the
Properties dialog box.
Figure 2. Example Plug-In Build Specification 
Figure 3. Plug-In Properties Dialog Box With Build Actions Selected 
- Select the category you want to edit from the left-hand panel.
- Adjust settings for that category as applicable.
- Select OK to save your changes.
-
Double-click the build specification for your plug-in to open the
Properties dialog box.
-
Right-click Build Specifications in the plug-in Project Explorer
window.

- Select Build All to produce the PPL and XML files in the default directory.
- Select Done.
Distributing I/O Plug-Ins
- Locate the folder containing the plug-in files.
-
Choose from one of the following options:
- Copy and paste the plug-in folder onto a USB drive to transfer it to the target machine.
- Transfer the files directly to the target machine through Windows remote file sharing.
-
Save the plug-in folder on the target machine in your desired location.
Data Record AD loads plug-in files from %Public%\Documents\National Instruments\ADAS\Plugins\IOPlugins.
Publishing Data to UI Topics Using I/O Plug-Ins
The Data Record AD User Interface enables you to publish data to UI topics through I/O plug-ins over the built-in gRPC interface. Alternatively, you can use TCP/IP, SystemLink, or another method enabled by your integrator.