LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sound Measurments Simulation with DAQmx USB 6008

 
 

Hello

 

I’m building a VI with  DAQmx - USB 6008, for measurement of sound. The current program is only a simulation for the measurement, and the idea of the design is to transmit the sound level signal into ‘colour fill tanks’ indicators on the front panel, for the viewer to see.

 

The difficulty I have is:

How do I connect ’fill tanks’ indicators – conditionally – to an output of a sound measurement VI?

The idea is to limit each ‘tank’ indicator to a level of sound, in such a way that the viewer sees visually the level of the sound on the front panel in those ‘filled tanks’.

When the level of the sound is for example from a to b the signal is send into the first ‘tank’ indicator. When the level is from b to c the signal is send to the next ‘tank’ indicator and so on…

 

My problem is how to wire the signal -conditionally with    , ,    to the sound level VI? (Those are two different types of wires).

 

The program is running well otherwise.

 

I attach the VI, and a detailed explanation of the VI in a Word file.

 

Anyone has a god idea how to solve it?

 

Thanks for your help.

 

Iris

Download All
0 Kudos
Message 1 of 3
(2,984 Views)
Hi Iris,
 
I noticed that du posted the same thread in Multifunction DAQ board in the forum and already got an excellent answer from Posse. However Devchander is right about your question is more suitable here in Labview discussion forum.
 
I implemented Posse's answer into your VI, and it now have three cases which are controlled by three userdefined signal intervals(0-2, 3, 4-6). Local variables for the tanks are used for reset two of the tanks value in each case.
 
I hope it all makes sense.
 
Thanks!
-----------------------------------------------------
Dennis Morini
District Sales Manager
National Instruments Denmark
http://www.ni.com/ask
0 Kudos
Message 2 of 3
(2,966 Views)

To Dennis Hej

Thanks for your help. I will look at the adds (corrections) you made.

Thank you

Iris

0 Kudos
Message 3 of 3
(2,961 Views)