The NI LabVIEW Bluetooth Low Energy (also called BLE, or Bluetooth Smart) API and Instrument Drivers enable BLE sensors and development kits to connect to LabVIEW on Windows 10 and cRIO. This enables existing BLE devices which typically work only with a bundled smartphone app, to also work with LabVIEW on Windows 10 or on Linux based NI cRIO embedded controllers.
Several example Instrument Drivers are included in the VI package.
Windows 10 or Real-Time OS
Perform these steps to install the software:
Download and unzip the attached .zip file
Execute the VI package to the Windows 10 desktop or laptop by double clicking, or by opening it from the VI Package Manager, included with LabVIEW 2016 and later.
Perform these steps to connect to a BLE sensor from LabVIEW, after installing the software:
Connect the BLE sensor to Windows by discovering it in Bluetooth Settings, selecting the sensor and clicking "Pair".
Run the NI BLE Server, which is installed with the VIs, typically at C:\Program Files (x86)\National Instruments\LabVIEW 2016\user.lib\National Instruments\BLE Instrument Drivers\NI BLE Server\NI Bluetooth LE Driver.exe . You will need to click OK as this executable runs with administrator permissions. This server exposes the Windows Bluetooth APIs to LabVIEW.
Get the address of your sensor using Discover BLE.vi, and enter that address into any example or instrument driver so that it connects to the correct sensor.
At present, this toolkit is experimental, unsupported, and not recommended for production applications, and has no warranty. Please see the licensing notice below.
NI Labs Licensing Notice
Because the software technology available on NI Labs is experimental and has not yet been released for large-scale commercial use or fully tested by NI, the terms of the NI Labs license agreements vary from the standard NI software license terms. Further, the license terms for specific NI Labs technology may vary. Please carefully read the terms of the license agreement included with each NI Labs download before accepting those terms.