Custom Error Handling in LabVIEW

This document describes handling errors in LabVIEW. All functions in LabVIEW have an output as Error Out which carries information as Error code, status and Error Message. These errors will not be understandable for the end user of application. We can customize error code messages and also create new error codes as user defined error codes. User defined error codes […]

» Read more

Xbee with X-CTU

The Xbee module that we are considering here is Xbee PRO S2B which operates on Zigbee protocol. Zigbee is a standard communication protocol for low-power, wireless networks. These modules are low cost and operate on less power. Xbee is a popular wireless device that is used to transmit and receive data wirelessly. When data has to sent from one radio […]

» Read more

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

Timer : Measuring Elapsed Time with Pause

This is a FGV timer implemented using the function ‘Get Date/Time in Seconds’, to measure elapsed time along with Pause and Resume functionality. Here is the front panel of the vi. Timer states is an enum which has four states. Set Timer Parameters – Resets the timer Get Elapsed Time – Returns Elapsed time Pause – Pause the timer Resume – […]

» Read more
1 2 3 4