Skip to main content

Serial streaming from serial port

Setting the correct baud rate

Here we set the baud rate to 115200 via the link serial command:

TEXT
>> link serial baudrate
<< link serial baudrate=19200

>> link serial baudrate=115200
<< link serial baudrate=115200
% This response is sent at the old baudrate, 19200Bd.
% The host must now change its baudrate to 115200Bd.

Enabling the serial streaming 

An instrument will start streaming measurements as soon as it is logging (see enable command) and serial streaming is enabled (see schedule command). If the instrument memory is full, the instrument will continue streaming as long as the instrument should be logging (see deployment command). The instrument outputformat command indicates which channels will be reported and sets the type of output format to be used.

With an RBRconcerto³ C.T.D, assuming the configuration is set as:

TEXT
>> group create gr_pts
<< group create gr_pts
>> group gr_pts channellist=pressure_00|temperature_00|salinity_00
<< group gr_pts channellist=pressure_00|temperature_00|salinity_00

>> schedule create sch_asc_pts
<< schedule create sch_asc_pts
>> schedule sch_asc_pts grouplist=gr_pts mode=continuous period=1000
<< schedule sch_asc_pts grouplist=gr_pts mode=continuous period=1000

>> config create default_config
<< config create default_config
>> config default_config schedulelist=sch_asc_pts
<< config default_config schedulelist=sch_asc_pts

Ensuring the schedule is streamed out with the right format:

TEXT
>> schedule sch_asc_pts stream=serial
<< schedule sch_asc_pts stream=serial

Set output format:

TEXT
>> instrument outputformat sn=on schedulelabel=on crc=on encoding=ascii
<< instrument outputformat sn=on schedulelabel=on crc=on encoding=ascii

Enabling the instrument:

TEXT
>> enable config=default_config dataset=dataset_01
<< enable config=default_config dataset=dataset_01 storagemode=normal state=enabled

Instrument starts streaming measurements:

TEXT
<< RBR 999999 sch_asc_pts 2024-01-01 00:10:14.000 10.0110e+000 21.3213e+000 0x94AB
<< RBR 999999 sch_asc_pts 2024-01-01 00:10:15.000 10.0241e+000 21.0201e+000 0x3A3A
<< RBR 999999 sch_asc_pts 2024-01-01 00:10:16.000 10.0248e+000 21.8246e+000 0x5967


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.