Ctrl Command get_error
Result
Bit
Bit #16
Bits #17.#31
Comments
• For error handling see
• The commands get_error and n_get_error are also available without explicit access
rights to a specific RTC
• The board-specific error variables LastError and AccError (see
87) are neither generated nor altered by get_error.
Example
creates an array for specifying which board has no existing access rights and resets the
(C/C++)
cumulative error code.
UINT NoAccess[MaxCount+1]; // MaxCount is a user-defined constant
UINT Error = init_rtc5_dll();// Searches for all installed RTC5 boards
if (Error & RTC5_ACCESS_DENIED) { // at least one board is inaccessible
UINT Count = rtc5_count_cards(); // number of boards found
for ( UINT Num = 1; Num <= Count; Num++ ) {
}
}
®
®
RTC
4 RTC
5 new command
Version info
Change with version DLL 518: bit#10
Last change with version DLL 535: bits #11, 12, 16
References
get_last_error, reset_error,
Ctrl Command get_fly_2d_offset
Function
returns the current reference values (offset values) for 2D encoder compensation.
Call
get_fly_2d_offset( &OffsetX, &OffsetY )
Returned
OffsetX,
parameter
OffsetY
values
Comments
• For 2D encoder compensation, see
®
®
RTC
4 RTC
5 new command
Version info
Available beginning with version DLL 536, OUT 536
References
init_fly_2d,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Error type
= 1:
Error reading PCI configuration register (can only occur
during init_rtc5_dll)
reserved
page
87.
®
5 board.
NoAccess[Num] = n_get_last_error(Num) & RTC5_ACCESS_DENIED;
n_reset_error(Num, RTC5_ACCESS_DENIED);
set_verify
Reference values as pointers to signed 32-bit values
set_fly_2d
page
184.
Error constant
RTC5_CONFIG_ERROR
= 65536
"Error Handling", page
264
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?