Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx USB 6008 - Sound Measurments Simulation

 

Hallo

 

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 5
(3,483 Views)

Iris,

Cannot suggest an asnwer as I could not open your vi.

That's because I have l LabVIEW 8.0 on my system and your vi is in LabVIEW 8.2

But here is one pointer : since your question is more specific to LabVIEW, you can expect more replies by posting it on LabVIEW discussion Board

 

Regards,

Dev

Message Edited by devchander on 03-07-2007 02:30 AM

0 Kudos
Message 2 of 5
(3,471 Views)

Hi Iris,

Although I am not entirely sure that I understand your application, I think you can achieve this by using a case structure. If you wire the sound level (reduced to integer) to the case selector input, then you can wire different values to the tanks in each case. For example, if only tank 1 is active between 0dB and 3dB, you can put the value of the sound level directly to tank 1 in this case and just wire a zero constant to the other tanks. You can use an interval to define each case (eg. '0..3').

Best regards,

Peter Porsman | Applications Engineer | National Instruments
0 Kudos
Message 3 of 5
(3,466 Views)

devchander Hej

Thanks for your effort anyway. I have posted it to LabVIEW and got some help.

Thank you

Iris

0 Kudos
Message 4 of 5
(3,438 Views)

Peter Porsman Hej

 

Thanks for your suggestion. (I did some readings about Cases today). Meanwhile I send the massege to LabVIEW forum.

Thanks

Iris

0 Kudos
Message 5 of 5
(3,436 Views)