Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Acquisition Using LabVIEW

You're reading from   Data Acquisition Using LabVIEW Transform physical phenomena into computer-acceptable data using a truly object-oriented language

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher Packt
ISBN-13 9781782172161
Length 150 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Behzad Ehsani Behzad Ehsani
Author Profile Icon Behzad Ehsani
Behzad Ehsani
Yik Yang Yik Yang
Author Profile Icon Yik Yang
Yik Yang
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. LabVIEW Basics FREE CHAPTER 2. Most Common Communication Buses 3. Using the DAQ Assistant to Automatically Generate LabVIEW Code 4. DAQ Programming Using LabVIEW 5. Debugging Techniques 6. Real-World DAQ Programming Techniques 7. Real-Time Issues 8. DAQ at a Distance - Network and Distributed Systems 9. Alternate Software for DAQ 10. Non-National Instrument Devices DAQ 11. LabVIEW and Simple Microcontrollers

A distributed test application using GPIB-ENET

With the connections ready and everything set up, we will run a simple example. In this example, we will set the power supply to 2.3v DC and connect the DS 2022 leads to the power supply:

  1. Launch LabVIEW, open a blank VI, and use Tektronix VI Tree. Drag and drop the following modules on the block diagram in the VI (see the block diagram of the following window):

    A distributed test application using GPIB-ENET

  2. Connect all wires to have a complete VI, as depicted in the following screenshot:

    A distributed test application using GPIB-ENET

  3. This will produce the following Front Panel:

    A distributed test application using GPIB-ENET

  4. On the Front Panel, click on the arrow and choose the appropriate instrument:
    • In our example, we have GPIB0::9::INSTR. Leave all other inputs with their default values.
    • Press the Run arrow icon in the top left corner to execute the VI.
    • LabVIEW chooses the X and Y limit values automatically and they change rapidly, sometimes so rapidly that one cannot see the correct trace that is drawn.

  5. Right-click on the Front Panel window and choose to remove the automatic assignment...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image