RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
593
Ctrl Command reset_error
Function Resets the cumulative error code.
Call
reset_error( Code )
Parameters
Code
OR connection of the error codes = sum by means of 2
Bitnumber
of all bits to
be reset.
As an unsigned 32-bit value.
Comments • For error handling see Chapter 6.8 ”Error Handling”, page 130.
• The cumulative error code
AccError
can be reset:
– Bitwise (individually for each error type, for example, Bit #5 and Bit #6 by
Code
= 2
5
|2
6
or by
Code
=
RTC6_BUSY
|
RTC6_REJECTED
)
– Completely (by
Code
= “–1”, therefore by
Code
= 2
32
–1)
The meanings of bit numbers, error types and error constants is described at get_error.
• reset_error does not delete the error code of another user program currently assigned
access rights to the board.
• reset_error and n_reset_error are available even without explicit access rights to a
specific RTC6 board.
• The board-specific error variable
LastError
(see Chapter 6.8 ”Error Handling”,
page 130) is neither generated nor altered by reset_error. In contrast,
AccError
is
altered as specified by
Code
.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_error, get_last_error