LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Voltage out

I'm currently a student at University of Glasgow doing my final project. I have been trying to use labview to output a waveform to an osciliscope etc; sine sawtooth and triangle waves. On the osciliscope the voltages being produced aren't continuous. Instead of producing a smooth curve for the sine waveform it just gives out discrete values i.e not producing a curve. Is there way to possibly buffer the output voltages or create a smooth voltage change to create the sine wave so it appears like the waveform in labview?

 

Thanks

0 Kudos
Message 1 of 3
(2,624 Views)

Perhaps you can post your code, and also tell us which NI DAQ you use. Creating a curve that looks smooth curve should not be that hard. But it will also depend some on your DAQ hardware

Labview is also shipped with tons of example code. Go to help in the toolbar. Select Find Examples. Then search for DAQ. The simplest example is the "Cont Gen Voltage Wfm-Int Clk.vi" But depending on what you want to do take a look at all the "Cont Gen Voltage Wfm-Int Clk......" examples

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 3
(2,611 Views)

Of course that curve you see isn't really smooth.  The waveform graph defaults to an interpolation view that make it look smooth.  Right-click the plot legend and change it to see the real wave.

 

In any case you will still be limited by the DAQ resolution and how fast your sample clock is set to run.  The only way to truly smooth it out is to add a low-pass analog filter to the DAQ outputs.  However, a 16-bit DAQ clocked at many times your desired output frequency should provide an adequate signal quality for most applications.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 3
(2,598 Views)