Setting Up the mniIPS2
©
2020
–
Valeport Ltd
Page | 14
5.5
Sampling Modes
The miniIPS2 and 2e will operate in a number of different modes:
Code
Sampling Mode
Description
#011;0
HOLD
The miniIPS2 or 2e will be powered but make no observations
#028 will cause an observation to be taken but no data will be output
until a #015 command is sent to recover the last observation made.
#011;1
SINGLE
Single
mode is effectively “Sample on Demand”
When instructed (#028), the sensor will observe and output the data
as a single observation
Note: If the start up message is enable it will be generated with each
observation
#011;2
CONTINUOUS
Data is observed and output at a fixed sampling rate from 1 to 100Hz
set by #003
#011;3
BURST FIXED
AVERAGE
Data is measured at the sampling rate (#003) for a number of samples
(#029)
The data set is then averaged before being output as a single
observation
The data set is cleared and a new set of data observed, averaged and
output
An instrument set to update at 32Hz with a dataset size of 32 will
output averaged data at 1Hz
#011;4
BURST MOVING
AVERAGE
Data is measured at the sampling rate (#003) for a number of samples
(#029)
The data set is then averaged before being output as a single
observation
The oldest observation is dropped and a new one added to the data
set
The data set is then averaged and output as a single observation
An instrument set to update at 32Hz with a dataset size of 32 will
output averaged data at 32Hz
#012
Read the Sampling Mode
#003;nn
Set the Sampling Rate
where xx = 1, 2, 4, 8, 16, 32, 64 or 100Hz
slow baud rates and long output strings can limit the sampling rate
#004
Read Sampling Rate
#029;nnn
Set the number of sample to be averaged
#030
Read the number of samples