LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Solved!
Go to solution

I have a problem in the acquisition of signals by the PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference. according to this document:

http://www.ti.com/lit/er/slaz036a/slaz036a.pdf
And I can not synchronize the audio acquisition on the inputs. Do you have any way to do this? Thanks in advance.

wave.pngblocoWave.png

0 Kudos
Message 1 of 11
(3,098 Views)

Tenho um problema na aquisição de sinais pela entrada de som do PC, porque o Hardware usado PCM2902 DAC, há Diferença de fase Inter-Channel. de acordo com este documento:

http://www.ti.com/lit/er/slaz036a/slaz036a.pdf
E não consigo sincronizar a aquisição de áudio nas entradas. Você tem alguma maneira de fazer isso? Desde já, obrigado.

wave.pngblocoWave.png

0 Kudos
Message 2 of 11
(3,098 Views)

Hi rd,

 

according to the PDF there is a phase shift of 1 sample:

- you can "pre-shift" the waveforms before outputting them

- you can "post-shift" the acquired waveforms as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 11
(3,093 Views)

Hello , Thanks for your reply, I'm new to labview, I'm learning. What component could you use to do this? A Wave Generator?

0 Kudos
Message 4 of 11
(3,083 Views)

Generation is "mono" only the pickup is stereo, it will generate a single signal and capture it on both channels.

0 Kudos
Message 5 of 11
(3,080 Views)

Hi rd,

 

What component could you use to do this?

To "shift" waveforms you could either change the timestamp of the waveform or you could prepend/append samples to the waveform sample array…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(3,053 Views)

I think I'm doing something wrong or not understanding what you told me right. Look what I tried to do, but it did not work:

wave2.png

0 Kudos
Message 7 of 11
(3,049 Views)

Hi rd,

 

you can manipulate each waveform individually using GetWaveformComponents and/or BuildWaveform.

The function you picked will not do what you need…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(3,047 Views)

I can not do it, it did not work.

wave3.png

0 Kudos
Message 9 of 11
(3,029 Views)
Solution
Accepted by topic author rdeletric

Hi rd,

 

as long as you only attach images we cannot debug or modify them using LabVIEW…

 

Both ways to manipulate waveforms I mentioned before are shown in this snippet:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(3,021 Views)