Creating a FlexLogger Plug-In from a Template

Use the FlexLogger Plug-in Wizard and plug-in templates to create plug-ins that you can use in FlexLogger.
  1. Launch LabVIEW.
  2. In LabVIEW, select File » Create Project.
  3. From the Create Project window, select FlexLogger IO Plug-in and click Finish.
  4. In the Create FlexLogger IO Plug-in window, update the IO Plug-in Name and select a Plug-in Template based on your goal.
    Table 1. FlexLogger Plug-In Templates
    Goal Plug-In Template Data Flow
    Create a plug-in that sends a setpoint value you enter in FlexLogger to a plug-in channel.

    Control a third-party instrument with FlexLogger. For more information, refer to Read Setpoint Channels from FlexLogger.

    Consume setpoint data

    User input → plug-in

    Create a plug-in that consumes one or more waveforms from FlexLogger channels, performs a custom calculation, and produces a waveform of resulting data that can be logged in FlexLogger. Perform calculation

    FlexLogger → plug-in

    and

    plug-in → FlexLogger

    Create a plug-in that generates waveform data and sends it to FlexLogger. Produce data for FlexLogger

    plug-in → FlexLogger

  5. Optional: Update the Description and Destination Directory (Source) for the plug-in. By default, the wizard saves new plug-ins in the My Documents\LabVIEW Projects\FlexLogger IO Plug-ins\ directory.
  6. Click Create.
    The FlexLogger Plug-In Wizard creates a LabVIEW project with necessary dependencies, a new LabVIEW class, an XML file, and a packed library build specification.
  7. Optional: Customize your plug-in using the methods described in the Plug-in Development section.
  8. To build your plug-in, select the Packed Library build specification and click Build Selected.

    FlexLogger Plug-in Wizard builds the packed library file and XML file for the plug-in and saves them in the default FlexLogger plug-in directory, %public%\Documents\National Instruments\FlexLogger\Plugins\IOPlugins.
After creating a plug-in, use it in your FlexLogger project.