10-23-2012 03:21 AM
dear all!
Now, i am using PCI 6052E and labVIEW2010
i want to measurement pulse width (duration) of sound wave (get from ultrasonic sensor SRF05)
can u help me to make a program do that (use DAQmx)!
thanks so much!
10-23-2012 04:55 AM
I am not sure about this measurement.
But you can check the functions listed in following example.
C:\Program Files\National Instruments\LabVIEW 2010\examples\DAQmx\Control\Control.llb\PWM-Counter Output.vi
Regards,
Yogesh Redemptor
10-23-2012 07:35 AM
With an ultrasound sensor you may be getting a waveform with a sinusoidal signal at the ultrasonic transducer resonant frequency and varying amplitude. Defining exactly what you mean by "pulse width" in such a situation is critical to making your measurement. Are you concerned about the envelope of the waveform or the individual cycles of the ultrasonic signal? How noisy is the signal? Do you get multiple reflections, particularly overlapping pulses?
Please post a VI or image showing the data along with indications of the points which define the pulse width you want to measure.
Lynn
10-25-2012 11:55 AM
Hii Yogesh!
i try to use that program u told me! bút that not may research! i so sorry!
i had ultrasound sensor, send signal to taget and recieved signal back! i want to meassurement pulse width (pulse duration) of that signal!
but i did not know how to make a program!
help me!
10-25-2012 12:21 PM
Dear Johnsold!
i can show you 3 pic! about my program and some result i got! bút i thinks that were wrong! u can see,
can u help me!
first one is my program!
Second is my purpose, i want to measurement from the first cycle to second one!
last one is my result, but so big, over 700s ( i thinks minisecond or microsecond is ok)
can u help me! make another program do that! thanks so much!
this is the first time i used Labview and my English not good enough, i am so sorry!
10-25-2012 12:25 PM
hii Johnsold!
i am so sorry!
this is my image! thanks
10-25-2012 09:17 PM
That certainly does not look like what I would expect to see from an ultrasonic transducer.
What is the resonant frequency of the transducer?
What is your sampling rate? Where do you set the sampling rate?
OK. I searched for your transducer and see that it has built-in signal conditioning so that you get a logic signal rather than the raw ultrasound.
10-26-2012 02:01 AM
Dear Johnsold!
i am using ultrasound sensor SRF05, this is manual, u can see! http://www.robot-electronics.co.uk/htm/srf05tech.htm
pulse width depend the distance from sensor to taget! (distance is my new purpose when i finish measuremant pulse width)
u see manual, u can understand why we have that type of signal!
but i don't know, why i can not have correct signal!
help me!
10-26-2012 08:31 AM - edited 10-26-2012 08:34 AM
Well, First off stop creating and destroying DAQmx tasks in a loop.
Create them once use them in a loop close them once.
Why did you toss out the dT information your measurment needs? Wire the waveform into Pulse Measurements.vi instead of just the Y values and things should improve.
I do not understand the scaleing you are applying after the pulse measurment.vi (But that should clean up when you fix the waveform/Y values only bug)
10-26-2012 11:14 AM
Dear Jeff!
i try to make again my program! here!
i do not understand what u say! may be my English so bad or this is the first time i using LabVIEW!
Can u tell me more about that?
i show u new one!
thanks so much!