Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

why does my ouput signal produce triangle waves when i want sine waves

Solved!
Go to solution

in labview i use daq assistant to create a output voltage signal to create a sine wave. when i connect it to the opscilloscope it reads triangle waves. can someone please tell me why this is.

0 Kudos
Message 1 of 5
(7,069 Views)

try increasing the update rate...if it doesn't update but a few points per period it might look like a triangle...

 

what HW are you using?

0 Kudos
Message 2 of 5
(7,068 Views)

i am using ni cdaq9172

0 Kudos
Message 3 of 5
(7,066 Views)

when i run the test run it works fine but when i generate the code from the daq assistant thats when it produces the triangle waves.

0 Kudos
Message 4 of 5
(7,064 Views)
Solution
Accepted by topic author reggie2016

9172 is a chassis so I would need to know the module you are using, too. You should try the example:

%PROGRAMFILES%\National Instruments\LabVIEW 2012\examples\DAQmx\Analog Output\Voltage - Continuous Output.vi

 

It shows you how to create a waveform to generate, you could use that piece and feed it into your daq assistant.

Message 5 of 5
(7,061 Views)