04-19-2010 10:48 AM
Hello all,
I am new to the sight and look forward to participating. I have a project that I’m working on and I would like to ask for your thoughts and direction if you’re willing. I have a few weeks left before completing an electronics program degree and Labview is one of the classes. The project I have chosen is to illustrate the differences between a micro controlled system and Labview controlled environment. I will be acquiring a signal through a ultra sonic distance sensor. The analog signal will be produced after which acquired through a SCB – 68 connector block and converted using the pci-mio-16E. The sensor operates at 40 kHz emitting a 5v pulse (burst) then falling to gnd for a short period followed by a 5v rise and staying high for a period of time waiting for the return of the frequency. This time period represents 3 inches to 27 ft in distance. I would like to interact with this signal through the distance period (portion) and output a string displaying a numeric value of the distance on the front panel obtained from an array built from different periods of the signal. I am not clear on what Labview function offers this type of control. I am hopeful in utilizing a vi or some type of trigger that allows me to build an array produced by some math functions. Any help would be appreciated.
Thank you, dhitch
04-19-2010 11:01 AM
Have a look at the waveform measurement VIs, esp. the trigger VI will be of good use to you.
The first task you have however is to capture the signal, is that allready done?
Ton
04-19-2010 10:23 PM
First thank you for your response, I will have an opportunity to make a capture tomorrow in class. I believe I have run across the waveform measurement VI in my searches and am sure it’s a very good choice. The trigger VI you suggest, going by the name, should be my ticket. Would you imagine a delay or decreasing time after the capture, allowing the trigger VI time to respond to an output configuration be required?
If I remember correctly the sampling rate capabilities are 500K samples/ second with 12 bits of resolution and as I say that it seems some of the capabilities rely on the processing speed of the computer. I guess I will kick the tires tomorrow hey. There are 2 class periods remaining to finish our projects @ 2 hrs / class and my anxiety is a bit high. Wish me luck and thank you so much.
dhitch