Third value returned, Fourth value returned, First command option — reset error counters – Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual

Page 42

Advertising
background image

Section 5. Programming the Datalogger

5-10

Third Value Returned

Framing errors
| | Overrun errors
| | | |
x x x x

Framing errors is a count from 0-99. This count shows how many times there
has been a receive error, caused by a character corruption or incorrect set-up.

Overrun errors is a count from 0-99. This count shows how many times
characters have been lost due to data being sent too quickly for the SDM-SIO4
to process the data.

Fourth Value Returned

NOT USED - SET TO ZERO
| | Line break errors
| | | |
x x x x

Line break errors is a count from 0-99. This count shows how many times the
line has been broken or disconnected.

First Command Option — Reset Error Counters

When command 1026 is specified in parameter 4 of Instruction 113, this
additional option can be used (parameter 5 of Instruction 113) to force the error
counters to be reset to zero.

This means that command 1026 requests data from the SDM-SIO4 and can also
be used to send these reset commands to the SDM-SIO4.

The command to reset the error counters has no effect on a port if
the command line is active.

Break reset
| Framing reset
| | Overrun reset
| | | Parity reset
| | | |
x x x x

Break reset:
0

Do nothing

1

Reset line break count to zero

Framing reset:
0

Do nothing

1

Reset framing error count to zero

Overrun reset:
0

Do nothing

1

Reset overrun error count to zero

NOTE

Advertising