Sonar data enable in data logs

hi,
I am having problem in enabling data log for sonar. I tried enable sonar in CLI mode but in CTUN-SonAlt there are no data recorded. Please correct me if I have done something wrong.
Thanks
Suf

Hi sufalraja,

Are you using APM2.5 or Pixhawk hardware? I don’t believe sonar is enabled in Pixhawk?

I’ve just made a cable and connected it to my Pixhawk, loaded the latest firmware as of yesterday believing the sonar code to have been added recently but still no SONAR_PIN parameter.

Glenn