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

Stepping through voltages


In this example, we will use a programmable power supply to step through five different voltages (since we use an array, the number of voltages can be as many as the number of array elements). We will send SCPI commands to a programmable power supply (KORAD KA3005P programmable DC power supply) to set the voltage. In the next step, we query the instrument to report back the value that the power supply is currently set on. Finally, we will collect all the returned values in a different array.

The power supply is connected to the LabVIEW computer via USB. We will use serial communication to send commands and collect returned values. The communication part of the VI is achieved via a SUB VI called Serial P.P.S.

To achieve the prceding scenario, we will only need four SCPI commands:

  1. OUT1: This will set the output to ON mode

  2. VSET1: This will set the output channel 1 to <value> volts

  3. VSET1 : This will query voltage at channel 1

  4. OUT0: This will turn the output off

Note...

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&nbsp; 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