Ctrl Command get_error
Function
returns the cumulative error code (i.e. 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 will be set.
Error constants are predefined for the specific errors.
Bit
Bit #0 (LSB)
Bit #1
Bit #2
Bit #3
Bit #4
Bit #5
Bit #6
Bit #7
Bit #8
Bit #9
Bit #10
Bit #11
Bit #12
Bits #13...
#15
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Error type
no error
= 1:
no board found
(this error can only occur via init_rtc5_dll)
= 1:
access denied
(this error can occur via init_rtc5_dll, select_rtc,
acquire_rtc
or any multi-board command)
= 1:
command not forwarded
(this error implies an internal, PCI or driver error, e.g. caused
by a hardware defect or an incorrect connection)
= 1:
no response from board
(it is likely that no program has been loaded onto the
®
RTC
5; this error can especially occur in connection with
control commands that expect a response, e.g.
get_hex_version)
= 1:
invalid parameter
(this error can occur through all commands for which
invalid parameters are not automatically corrected to valid
values, e.g. parameters with limited choices such as
get_head_para; if this error occurs for a list command, it
will be replaced with list_nop; if this error occurs for a
control command, it will not be executed)
= 1:
List processing is (not) active
(e.g. for execute_list, if a list is currently being processed
e.g. for stop_execution, if no list is currently being
processed
e.g. for restart_list, if
pause_list
called)
= 1:
List command rejected, illegal input pointer
(e.g. for any list command directly after
list_return: the list command will then not be loaded)
= 1:
List command was converted to a
(e.g.
set_end_of_list
in a protected subroutine)
= 1:
Version error: DLL version (driver DLL), RTC version
(firmware file) and HEX version (DSP program file) not
compatible (also see load_program_file)
= 1:
Verify error: The download verification (see
detected an incorrect download.
= 1:
DSP version error: DSP version too old (this error only occurs
®
with older RTC
5 boards – see
– and only through a few commands such as
mark_ellipse_abs; the corresponding command
description's "Version info" section contains related
comments; Commands that generate the error will neither
be executed nor replaced by list_nop)
= 1:
A DLL-internal Windows memory request failed
= 1:
EEPROM read or write error (can occur during initialization
or auto_cal)
reserved
Error constant
RTC5_NO_ERROR
RTC5_NO_CARD
RTC5_ACCESS_DENIED
= 2
RTC5_SEND_ERROR
RTC5_TIMEOUT
RTC5_PARAM_ERROR
= 16
RTC5_BUSY
was not previously
RTC5_REJECTED
load_char
+
RTC5_IGNORED
list_nop
RTC5_VERSION_MISMATCH
= 256
page
88) has
RTC5_VERIFY_ERROR = 512
RTC5_TYPE_REJECTED
get_rtc_version
bits #16-23
= 1024
RTC5_OUT_OF_MEMORY
= 2048
RTC5_EEPROM_ERROR
= 4096
= 0
= 1
= 4
= 8
= 32
= 64
= 128
263
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?