Table Of Contents

Using NI SystemLink Tags to Exchange Data between FlexLogger and External Tools

Last Modified: August 21, 2020

Configure your system to use SystemLink tags with a FlexLogger project to exchange data.

NI recommends the read rate of 1 Hz for data using SystemLink tags. For channels that require a faster read data rate, consider using the FlexLogger Plugin Development Kit to create a custom LabVIEW plugin for your project. Refer to Adding a Plugin to Your Project for more information.

Exchanging Data with Python

Learn how to install, configure, and use Python to exchange data.

What to Use

The following FlexLogger and Python software versions are required to use SystemLink tags:
  • Python 3.5 or later
  • FlexLogger 2020 R3 or later

What to Do

  1. Install Python.
  2. Install FlexLogger.
  3. Configure NI Web Server for Simple Local Access.

spd-note-note
Note  

To exchange data with Python, you must create and configure a FlexLogger project. For more information on this, refer to the FlexLogger Projects topic and the Configuring and Saving a Project topic.

  1. In your configured FlexLogger project, go to Project»Settings and ensure that the Publish SystemLink Tags and Consume External SystemLink Tags options are checked.

    After enabling these options for the first time, you need to close and re-open your project.

  2. Follow the steps in the NI FlexLogger Examples for Python repository on GitHub to install and run the examples.
    spd-note-note
    Note  

    Refer to the repository readme for more information about the examples available.

Exchanging Data with LabVIEW

Use SystemLink tags to exchange data between FlexLogger and LabVIEW.

What to Use

The following FlexLogger and LabVIEW software versions are required to use SystemLink tags:
  • LabVIEW 2017 or later (64-bit recommended)
  • FlexLogger 2018 R4 or later

What to Do

  1. Install LabVIEW.
  2. Install FlexLogger, ensuring to select NI SystemLink Tag Support for LabVIEW <version> from the Additional items you may wish to install dialog.

    If you have already installed FlexLogger and would like to add NI SystemLink tag support, complete the following steps.

    1. Open NI Package Manager and locate FlexLogger <version> on the Installed tab.
    2. Hover over the row to see the Install or remove related packages gear.
    3. Select NI SystemLink Tag Support for LabVIEW <version> and click Next.
    4. Follow the instructions to complete installation of SystemLink tag support.

spd-note-note
Note  

To exchange data with LabVIEW, you must create and configure a FlexLogger project. For more information on this, refer to the FlexLogger Projects topic and the Configuring and Saving a Project topic.

  1. In your configured FlexLogger project, go to Project»Settings and ensure that the Publish channels as local tags and Consume local tags options are checked.

    After enabling these options for the first time, you will need to close and re-open your project.

  2. Navigate to Program Files»National Instruments»FlexLogger <versionExamples»SystemLink Integration to locate FlexLogger Tag Examples.lvproj. This LabVIEW project contains several example VIs to get you started with exchanging data using the SystemLink tags, including VIs for sending I/O data points to FlexLogger, importing I/O from an existing FlexLogger project, or programmatically controlling output values in FlexLogger.

Recently Viewed Topics