LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

record values and plot graph

Dear champs,
 
I am currently designing a pure tone audiometer with masking facility. It is a device used in hospitals to measure the sensitivity of the human ear and its response to sounds of different frequencies at different intensities.
 
I worked on this VI with help from other VIs and finally, I now have a VI doing the following things:
 
It generates sine wave of a frequency to be heard in one ear. Frequency and amplitude can be varied using the knob and slider.
It generates white noise to be heard by the other ear. Again, amplitude can be varied by the slider.
This happens in a loop.
 
I need a RECORD button to be placed on the front panel. At the instant record is placed, the amplitude and frequency should get recorded and fed to a display table. After the values are recorded at all the frequencies of the sine wave, it should plot a graph showing characteristics something like the JPEG image below.
 
I guess you may be able to follow from the jpeg what exactly I need.
I am submitting my VI. Somebody please help soon. I have a dead line and I am in trouble.
 
Thanks,
Sheldy.
 
Download All
0 Kudos
Message 1 of 4
(3,394 Views)
By the way, I am using LABVIEW 7.1
0 Kudos
Message 2 of 4
(3,393 Views)
Hi Sheldy,
 
So far you have the write sound part, but you'll need to set up the input.
You should refer to the Simultaneous Sound IO.vi in the NI example finder. 
This VI illustrates how to perform simultaneous sound IO, i.e., how to continuously play the sound acquired from a microphone.
 
Hopefully this helps!!
Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 3 of 4
(3,357 Views)

hi

i tried your audiometer and the audiogram drawing but when i still chosing the same freq but changing the amplitude i got 2 values for the same freq is there a way to prevent this.

regards

0 Kudos
Message 4 of 4
(3,188 Views)