Reader small image

You're reading from  Data Acquisition Using LabVIEW

Product typeBook
Published inDec 2016
PublisherPackt
ISBN-139781782172161
Edition1st Edition
Right arrow
Author (1)
Yik Yang
Yik Yang
author image
Yik Yang

Yik Yang  is a test engineer living in Chicago who has specialized in automation and data analysis. Having worked in multiple fields such as semiconductor, automotive, and power, he has experience with different types of automation and understands what are the industries' needs.He started his career after receiving his Bachelor's and Master's degrees in Electrical Engineering at Virginia Tech. In his career, he worked on automation projects that used CompactDAQ, PXI, FPGA, and so on in LabVIEW. He has also spent a lot of time with Lean Six Sigma and statistical analysis with JMP. He is a certified Professional Engineer (PE) in North Carolina and a Certified LabVIEW Developer (CLD).
Read more about Yik Yang

Right arrow

Power Supply Voltage Steps: Revision 1


In this revision of the Power Supply Voltage Steps example, we will accomplish three tasks:

  • We will create a SUB VI to collect voltages from an oscilloscope

  • We will add condition selections such that the blank array elements are removed

  • We will add code to display measured voltage as opposed to set voltages

To create a SUB VI that will use the oscilloscope to display the measured voltages that the power supply puts out, we will do the following:

  1. From the Tektronix functions pallet, choose and place "Initialize.vi" and "Read Measurement.vi" on a Block Diagram of a new VI.

  2. Connect a Boolean False to the "Reset" input of the Initialize.vi.

  3. Connect serial input and output VISA as in the following diagram.

  4. Right click on the "Measurement Type" input of the measurement type VI and choose "Mean" from the drop-down menu.

  5. Create a SUB VI and save all:

With this SUB VI in place, we can modify the original VI to implement parts 2 and 3.

There are four main changes needed...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Data Acquisition Using LabVIEW
Published in: Dec 2016Publisher: PacktISBN-13: 9781782172161

Author (1)

author image
Yik Yang

Yik Yang  is a test engineer living in Chicago who has specialized in automation and data analysis. Having worked in multiple fields such as semiconductor, automotive, and power, he has experience with different types of automation and understands what are the industries' needs.He started his career after receiving his Bachelor's and Master's degrees in Electrical Engineering at Virginia Tech. In his career, he worked on automation projects that used CompactDAQ, PXI, FPGA, and so on in LabVIEW. He has also spent a lot of time with Lean Six Sigma and statistical analysis with JMP. He is a certified Professional Engineer (PE) in North Carolina and a Certified LabVIEW Developer (CLD).
Read more about Yik Yang