This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVM430-FR6043: Where can I find the ultrasound capture data in 'USSSWLib_template_example'?

Part Number: EVM430-FR6043

Hi!  I'm using the EVM430-FR6043 to measure water flow.

It measures well in USS

So I created header file  using USS( Design Center) 

and copied it into the "USSSWLib_template_example" Project

When I ran it, I only got zero values.

Like this: 

$,00000000
#,00000000

I'm curious to verify if the measurements are accurate, so I want to check the capture data

Where can I find the ultrasound capture data in 'USSSWLib_template_example'?

 

  • When you say the ultrasound capture data, are you referring to the ADC capture data? I don't believe this is stored in the template example code beyond its use in the algorithm, I think you will have to save this manually.

    If you are getting zero values for all of your outputs, it sounds like you are having issues reading your sensors. Are you checking the error code returned by the algorithm to see if there are issues?

  • Thank you, Dylan

    Sure, I want to see the ADC capture data.

    As you said, when I checked the error code for the USS_runAlgorithms() function, it returned 126.

    The error code 126 is "no_signal_detected_ups_dns_channel."

    however When it operates on USS(ultrasonic sensor design center), it's normal. so I don't know what the problem is.

  • Hi Sunwoo,

    You should try to manually view some of the ADC capture data to see if you are getting any signal from the transducer. You could also connect an oscilloscope to the pulse TX pin to see if the excitation pulses are actually being generated. It is additionally possible to get this error when there are bubbles or other inconsistencies in the liquid flowing through the pipe. Is it possible that this is happening?

**Attention** This is a public forum