RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
398
Ctrl Command get_error
Function Returns the cumulative error code. It corresponds to a list of error types occurring since
the last reset or error reset.
Call
AccError = get_error()
Result Error code. As an unsigned 32-bit value.
If multiple errors occurred, then multiple bits are set.
For the specific errors the error constants should be predefined as mentioned below.
Bit Error type Error constant
– No error.
RTC6_NO_ERROR = 0
Bit #0
(LSB)
= 1: No RTC6 PCIe Board found.
This error can only occur with
init_rtc6_dll.
RTC6_NO_PCIE_CARD_FOUND = 1
Bit #1 = 1: Access denied.
This error can occur by
init_rtc6_dll, select_rtc,
acquire_rtc or any multi-board
command.
RTC6_ACCESS_DENIED = 2
Bit #2 = 1: Command not forwarded.
This error implies an internal,
RTC6 board driver error or
PCI error, for example, caused
by a hardware defect or an
incorrect connection.
RTC6_SEND_ERROR = 4
Bit #3 = 1: No response from board.
It is likely that no program has
been loaded onto the RTC6.
This error can especially occur
in connection with control
commands that expect a
response, for example,
get_head_para.
RTC6_TIMEOUT = 8
Bit #4 = 1: Invalid parameter.
This error can occur through all
commands for which invalid
parameters are not
automatically corrected to
valid values, for example,
parameters with limited
choices such as
get_head_para. If this error
occurs for a list command, it is
replaced with list_nop. If this
error occurs for a control
command, it is not executed.
RTC6_PARAM_ERROR = 16