LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx split or filter signal

Solved!
Go to solution

Goodday,

 

On a PC 4461 card, there are 2 mic's connected. I use the Read.Vi from the DAQmx for this with "ai0:1" as physical adresses.

These signals are use to calculate the rms value.

And this value is send to

Ai0 => Ao0

and

Ai1 => Ao1

 

However sometimes i want to use only one mic, and thus only for example use "ai1" however when i do this the signal from Ai1 goes to Ao0.

Ai1 => Ao0.

It seems that the Read.vi write every channel to "waveform channel 0" instead of "Ai1 to waveform channel 1"

 

How can this be changed or filtered?

And is there a way to create a pulldown control to selelect Ai0:1 (multiple channels)? the one is create now is only for one channel selection.

 

 

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

Added a picture for example

0 Kudos
Message 2 of 3
(2,801 Views)
Solution
Accepted by topic author Paul82
The channel select control/constant does have a pulldown for selecting one or more channels. Just use the Browse option.

If you only have one channel selected, you only have a single element in the waveform array so if you always want ai1 to be displayed on a specific graph, put the index array function inside of a case statement. You would have three different cases - ai0 only, ai1 only, ai0 and ai1. Wire out the case statement to the graphs.
0 Kudos
Message 3 of 3
(2,796 Views)