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:
From the Tektronix functions pallet, choose and place "Initialize.vi" and "Read Measurement.vi" on a Block Diagram of a new VI.
Connect a Boolean False to the "Reset" input of the Initialize.vi.
Connect serial input and output VISA as in the following diagram.
Right click on the "Measurement Type" input of the measurement type VI and choose "Mean" from the drop-down menu.
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...