Site Search:

Using LabVIEW With Your DATAQ Data Logger

FacebooktwitterredditlinkedinmailFacebooktwitterredditlinkedinmail

In the realm of data acquisition, LabVIEW is one of the most oft-used programming environments. This application note describes step-by-step how to access a DI-2108, and virtually any other DATAQ Instruments data acquisition device (with modifications) using LabVIEW.

To do so:

1.) Ensure that the 32-bit version of LabVIEW 2019 in installed on your PC. Click here to download a trial version.

2.) Navigate to our GitHub page at https://github.com/dataq-instruments/LabView and download the dataqsdk.vi and associated ReadMe file.

3.) Download and install the DATAQ Instruments Software Suite on a PC running Windows 7 or later.

4.) Connect your DATAQ data acquisition device to the PC. While the example program targets the DI-2108 by default, this LabView vi supports DI-11xx, DI-21xx, DI-41xx, DI-47xx and most DATAQ devices (with modifications).

5.) From the LabView project menu, run dataqsdk.vi.

6.) From the Front Panel, click the ‘Run’ button.

7. With the vi running, enter a sample rate and click the ‘Start’ button.

8. That’s all there is to it! You should see real-time data in the LabView chart.

On our GitHub page, you’ll find additional LabVIEW example programs, along with examples written in C# and Python.

 

Additional Reading:

MATLAB Support for Data Acquisition Starter Kits

Python Support for the Latest Generation of DATAQ Products

How to Use Protocol Level Commands

 

Follow Us
FacebooktwitterlinkedinyoutubeFacebooktwitterlinkedinyoutube

 Categories: Data Acquisition, Programming

 Tags: , , , ,

 Bookmark the permalink

 RSS Feed (comments for this post)

 Post a comment

 Trackback URL

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>