From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate 2 Channels in SoundInputRead.vi

Hi ,

I would like to distinguish between 2 Channels that I am reading out from the SoundInputReadvi.

I can see that both are read but when I draw them using a graph, it seems that they are interpolated between each other.

The index in the picture should give me the Channel 1 or 2 in a seperate Array and then plot them on a graph.

I intentiinally put in channel1 a Sinus and in channel2 a Square wave same frequency. 

changing the index on in the loop did not distinguish between both Channels, it rather did an interpolation of both signals.

Any idea why

Thanks in advance

0 Kudos
Message 1 of 2
(1,892 Views)

Hi YG3,

The waveform data you are receiving should be a 1D array of waveforms. Each element of the array should correspond to a channel. Perhaps if you put a waveform chart indicator immediately after the index array, that should give you the information you want. Hopefully this helps!

Regards,

Michelle G
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(1,872 Views)