LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I vary the voltage of a DC power source using a sine wave on LabVIEW?

Solved!
Go to solution

Hello all!  I have a GW Instek PST-3202 DC programmable power source.  I want to test the temperature resolution based on voltage fluctuations of my power source.  I've begun writing a VI for this, but I don't know how to fluctuate the voltage in a sine wave pattern.  I found the Sine Wfm function under Signal Processing, but I don't know how to change the "1D array of double" which is the waveform to "sink of double", which is where I apply the waveform to the voltage of power supply.  The VI is attached.

0 Kudos
Message 1 of 2
(2,270 Views)
Solution
Accepted by topic author airic001

The Format Value function will not accept an array so put it inside a loop. Use a shift register to append all the values from the array to the string.

 

Lynn

 

array to string.png    output string.png

0 Kudos
Message 2 of 2
(2,253 Views)