Manual revision 001
Section 4: Deploying and Operating SBE 39
plus
-IM
SBE 39
plus
-IM
40
Averaging Sampling
Averaging Sampling combines Autonomous Sampling with the ability to
periodically retrieve averaged data from each 39
plus
-IM, to allow the user to
look at averaged data without stopping sampling. As in Autonomous
Sampling, at pre-programmed intervals the 39
plus
-IM wakes up, samples data
and stores it in its FLASH memory, and goes to sleep (enters quiescent state).
As the 39
plus
-IM is sampling, it automatically adds the data values (T and
optional P) for each sample to an
averaging section
in the FLASH memory,
and keeps track of the number of samples since the last averaging request.
When desired, the user can use
GData
to request the average of the data
sampled since the last request, from all IM instruments online. Each
39
plus
-IM gets the data from the averaging section in FLASH, divides the
sums by the number of samples, holds the averaged data (T and optional P) in
a buffer, and resets the averaging section to begin a new average. The user can
then request the averaged data from the buffer of a particular 39
plus
-IM.
Example: Averaging Sampling
for mooring with two 39
plus
-IMs (user input in bold)
Send wakeup tone to all IM instruments. For all instruments in Group 0 (all instruments with an integrated IMM are automatically in
Group 0): Set current date and time to May 1, 2016 12:00:00, initialize logging to overwrite previous data in memory, set up to send
data in converted decimal format and include temperature (°C) and pressure (dbar), take samples every 10 sec, set character string for
GData
to
GetAvgRestart
, start logging May 2, 2016 12:00:00. After all parameters are entered, verify setup for each 39
plus
-IM.
Send power-off command to all IM instruments – 39
plus
-IM automatically wakes up and powers down for each sample.
(Select
Connect
in SeatermIM’s Communications menu to connect and wake up all IM instruments.)
#G0:DATETIME=11162016090000
#G0:OUTPUTFORMAT=1
#G0:OUTPUTTEMP=y
#G0:SETTEMPUNITS=0
#G0:OUTPUTPRESS=y
#G0:SETPRESSUNITS=0
#G0:SAMPLEINTERVAL=10
!G0:SETGDATASTR=getavgrestart
#G0:STARTDATETIME=05022016120000
#G0:STARTLATER
#01GETCD
(to verify setup of 39
plus
-IM 01)
#02GETCD
(to verify setup of 39
plus
-IM 02)
#01GETSD
(to verify status is
waiting to start logging
for 39
plus
-IM 01)
#02GETSD
(to verify status is
waiting to start logging
for 39
plus
-IM 02)
PWROFF
39
plus
-IMs start logging at programmed date and time. Send
GData
command to calculate averaged data and start a new average for
each 39
plus
-IM. Then send command to each 39
plus
-IM to transmit averaged data. Send power-off.
(Select
Connect
in SeatermIM’s Communications menu to connect and wake up all 39
plus
-IMs.)
GDATA
(sends
GetAvgRestart
to all 39
plus
-IMs; each 39
plus
-IM holds data in buffer. Note that sending
GetAvgRestart
resets logging time base; next sample is taken at
#iiSampleInterval
/2 after 39
plus
-IM receives
GData
)
!01DATA
!02DATA
PWROFF
When ready to upload data to computer, wake up all IM instruments, stop sampling, and upload data. Send power-off command.**
(Select
Connect
in SeatermIM’s Communications menu to connect and wake up all IM instruments.)
#01STOP
(Click Upload menu – SeatermIM leads you through screens to define data to be uploaded and where to store it)
(repeat
#iiSTOP
through Upload for 39
plus
-IM 02)
PWROFF
** Alternatively, upload data from each instrument in lab via internal USB connector for faster upload.