Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Acquisition Using LabVIEW

You're reading from  Data Acquisition Using LabVIEW

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781782172161
Pages 150 pages
Edition 1st Edition
Languages
Author (1):
Yik Yang Yik Yang
Profile icon Yik Yang

Table of Contents (18) Chapters

Data Acquisition Using LabVIEW
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
1. LabVIEW Basics 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

Power supply voltage steps


What this VI attempts to do is simply set five different voltages and query the current value every time that a new value is set. We also need to set the output of the power supply to ON mode in the beginning and set it to OFF at the end. We are going to use an array to send SCPI commands to achieve each step.

We begin by creating this unpopulated array:

  1. Place an "Array constant" on the Block Diagram: Functions | Programming | Array | array Constant.

  2. Drop a "String Constant" on the "Array Constant": Functions | Programming | String | String Constant.

  3. Fill the array element as shown in the VI. The array should have 12 elements:

  4. Add a "For Loop": Functions Programming Structures "For Loop".

  5. Drop the SUB VI we built inside the "For Loop": Functions Select a VI... navigate, and find the SUBVI and place it inside the "For Loop".

  6. Place a "Build Array" inside the loop. Click on "Build Array" and expand it to two inputs.

  7. Connect the "Read buffer" output of the SUB VI and connect...

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 $15.99/month. Cancel anytime}