Tag Archives: LabVIEW Examples

Database connectivity using MySQL-example

In this tutorial we will see basic example of creating table and inserting record into database [MySQL]. Tools required: LabVIEW Database connectivity Toolkit MySQL server. Following is the front panel of the main VI. TableName is the name of the table. UserName [Primary key] and Password are the fields in the table. DB Status is an indicator which displays the […]

» Read more

Database Connectivity using MySQL

In this tutorial we will see how to open connection for database and the various methods for opening connection. Connection should be closed at the end. Tools Required: Windows OS MySQL server LabVIEW database and connectivity toolkit In LabVIEW functions palette, Database VI’s are located in Connectivity >>Database. Turn ON the MySQL server in MySQL workbench if not running. First […]

» Read more

Calibrating a Sensor in LabVIEW

Most of the LabVIEW applications involve data acquisition through NI hardware. Since we would be attempting to measure some real world phenomenon(like strain, load, pressure… etc), these will be converted into electrical signals(like voltage, current… etc) that can be measured using the data acquisition hardware. A sensor is a device which is used to convert a real world phenomenon into […]

» Read more

Change Cell Background Color in a Table Control

  To just simply change the background color of all cells in Table, Listboxes, Multicolumn List boxes and Tree Controls, follow the below procedure:   Use the CellBGColor property to set the color to a cell. Use ActiveCell Property to set the row and column of the cell that needs this change. In the below LabVIEW examples, the background color […]

» Read more