LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i send more than one signal to DMA FIFO?

Solved!
Go to solution

i've never done! now i see that in the wave chart and i want to see a perfect sine wave like that.

waveform chart.png   Sine wave.png

Download All
0 Kudos
Message 11 of 22
(2,655 Views)

@pablosan wrote:

i've never done! now i see that in the wave chart and i want to see a perfect sine wave like that. 


So it looks like you are writing to the waveform chart incorrectly.  Please show your code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 22
(2,647 Views)

Here it is!

0 Kudos
Message 13 of 22
(2,638 Views)
Solution
Accepted by pablosan

You are not writing arrays to your chart.  Plus it looks like you have two of your plots disabled.  See if this works for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 14 of 22
(2,626 Views)

i try that and I have the same problem!

 

waveform chart.png

Download All
0 Kudos
Message 15 of 22
(2,608 Views)

1.  Why the FOR loop for the DMA write?  it isn't doing anything.

2. I am noticing a coercion dot on your DMA write.  What is the data type you have for the DMA FIFO?

3. Try zooming in on your chart.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 16 of 22
(2,598 Views)

crossrulz escribió:

1.  Why the FOR loop for the DMA write?  it isn't doing anything.

2. I am noticing a coercion dot on your DMA write.  What is the data type you have for the DMA FIFO?

3. Try zooming in on your chart.


1. I've just delated the for loop for the DMA write

2. the data type is I64

3.The wave is not a sine wave

 

waveform chart.bmp

Download All
0 Kudos
Message 17 of 22
(2,590 Views)

Those signals look like you are saturating your D/As (clipping at the peaks).  You should look to see what exactly you are inputting.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 18 of 22
(2,584 Views)

the inputs before the write DMA FIFO is well. If the amplitude is 1 i can see 3 sines waves between  [-1, 1].

 

I think the mistake is after the read DMA FIFO.

0 Kudos
Message 19 of 22
(2,580 Views)

What's the output datatype of your Integer to FXP conversion?

0 Kudos
Message 20 of 22
(2,542 Views)