Skip to content

Omniscan450 messages

general

10 JSON_WRAPPER

Type Name Description Units
char[] string Length is derived from payload_length in the header.

control

1002 set_speed_of_sound

Set the speed of sound.

Type Name Description Units
u32 speed_of_sound The speed of sound in the measurement medium. ~1,500,000 mm/s for water. mm/s

2197 os_ping_params

Type Name Description Units
u32 start_mm Start of ping range, set to 0. mm
u32 length_mm Length of the returned profile, end of range = start_mm + length_mm. mm
u32 msec_per_ping Set value to limit ping rate, normally set to 0 for best ping rate. msec
float reserved_1 Set to 0
float reserved_2 Set to 0
float pulse_len_percent % of total ping time for current range, 0.002 typical.
float filter_duration_percent 0.0015 typical.
i16 gain_index Set to -1 for auto gain, otherwise 0-7 sets gain.
u16 num_results Number of signal data points in resulting profile (200-1200), 600 typical.
u8 enable 1 or 0 to enable or disable pinging.
u8 reserved_3 Set to 0
u8 reserved_4 Set to 0
u8 reserved_5 Set to 0

get

2198 os_mono_profile

A profile produced from a single acoustic measurement. The data returned is an array of response strength, in dB, at even intervals across the scan region. The scan region is defined as the region between and millimeters away from the transducer. Note that the amplitude of the results are in dB. This is just to keep high dynamic range in the u16 sized data elements. Normally these are converted back to linear power or signal levels.

Type Name Description Units
u32 ping_number sequentially assigned from 0 at power up
u32 start_mm The beginning of the scan region in mm from the transducer. mm
u32 length_mm The length of the scan region. mm
u32 timestamp_ms msec since power up at time of ping ms
u32 ping_hz Frequency of acoustic signal hz
u16 gain_index 0-7
u16 num_results length of pwr_results array
u16 sos_dmps speed of sound, decimeters/sec
u8 channel_number
u8 reserved
float pulse_duration_sec
float analog_gain
float max_pwr_db
float min_pwr_db
float transducer_heading_deg
float vehicle_heading_deg
u16[] pwr_results An array of return strength measurements taken at regular intervals across the scan region. The first element is the closest measurement to the sensor, and the last element is the farthest measurement in the scanned range. power results scaled from min_pwr_db to max_pwr_db Length is derived from payload_length in the header.