Integrate Support for NI-VirtualBench 17 in LabVIEW 2018

Updated Jun 14, 2019

Reported In

Software

  • LabVIEW 2018

Driver

  • NI-VirtualBench Application and Driver

Issue Details

I am trying to open a VI in LabVIEW 2018 that was created with a previous version of LabVIEW and contains NI-VirtualBench elements. It asks me to point to all used VirtualBench Sub-VIs manually every time I open one of my VIs. Sometimes it even greys some out and gives me a Broken Run Arrow. How do I get the VI to work?

Solution

Unfortunately, the most recent released version of Virtual Bench (17.0) does not support LabVIEW 2018. There is a temporary workaround to include the NI-VirtualBench 17.0 driver into LabVIEW 2018 until the more current version is released. VirtualBench 17.0 should not have compatibility issues with LabVIEW 2018, however this is not guaranteed.

Follow these steps to add the VirtualBench 17.0 VIs into the LabVIEW 2018 library:
  1. Download NI-VirtualBench Application and Driver 17.0
  2. Install or re-install NI-VirtualBench 17.0 and select Custom installation, then select LabVIEW 2017 Support to be installed.
  3. Navigate to C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\, or the corresponding folder of your installation.
  4. Copy the VirtualBench sub-folder into C:\Program Files (x86)\National Instruments\LabVIEW 2018\vi.lib\
  5. (Re-)Start LabVIEW 2018
  6. Optional: To be able to compile such a VI, follow the guide Add NI-VirtualBench 17 Functions to LabVIEW 2018​
Note: This workaround is only relevant for LabVIEW 2018, not LabVIEW 2018 SP1.

Additional Information

Note: The above steps are not needed when you install a version of NI-VirtualBench along with a version of LabVIEW it supports, e.g. NI-VirtualBench 16.x with LabVIEW 2016, NI-VirtualBench 17.x with LabVIEW 2017 etc.

Note: The above steps can allow an application with VirtualBench VIs to run on LabVIEW 2019. These steps may not always work since this setup is unsupported.

 

WAS THIS ARTICLE HELPFUL?

Not Helpful