How to Connect LabVIEW to a Database

Updated Feb 6, 2020

Issue Details

I need to connect my LabVIEW applicaton to a database to store and query measurement data and configuration information. What is the easiest way to do that in LabVIEW?


The best and easiest way to connect perform database connection and opeartions in LabVIEW is by using the LabVIEW Database and Connectivity Toolkit. Since it comes with an simple API that allows create routines that work with the most popular databases, such asMicrosoft Access, SQL Server, and Oracle, as well as provide a set of advanced functions to give you access to low level operations.

Below a sample code that exemplifies the usage of this toolkit. This is a native example that comes with the toolkit.