NI Labs Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Bluetooth Low Energy (BLE) Instrument Drivers for Windows & cRIO

 

Description

 

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.

 

Software Requirements

 

  • Windows 10 or Real-Time OS
  • LabVIEW 2016

 

Installation Instructions

 

Perform these steps to install the software:

  1. Download and unzip the attached .zip file
  2. 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:

  1. Connect the BLE sensor to Windows by discovering it in Bluetooth Settings, selecting the sensor and clicking "Pair".
  2. 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.
  3. 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.

Support

 

For inquiries regarding this tool, troubleshooting, and feature requests please refer to this LabVIEW Bluetooth Low Energy Support Discussion NI Community forum for BLE.

 

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.

Comments
Member Tim_Ousley
Member

1) We're live at NI Week 2016 with this code in the demo under the sign "Device Connectivity".  Connected devices include TI and ADI reference designs, and industrial sensors from Motionics and TE Connectivity.

2) The files are available in person, or direct message/email me (Tim Ousley) with the title "LabVIEW BLE".  They will eventually be posted here.