EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - get_fly_2 d_offset

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
264
innovators for industry
Result
Bit Error type Error constant
Bit #16 = 1: Error reading PCI configuration register (can only occur
during init_rtc5_dll)
RTC5_CONFIG_ERROR
= 65536
Bits #17.#31 reserved
Comments For error handling see page 87.
The commands get_error and n_get_error are also available without explicit access
rights to a specific RTC
®
5 board.
The board-specific error variables
LastError
and
AccError
(see "Error Handling", page
87) are neither generated nor altered by get_error.
Example
(C/C++)
creates an array for specifying which board has no existing access rights and resets the
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++ ) {
NoAccess[Num] = n_get_last_error(Num) & RTC5_ACCESS_DENIED;
n_reset_error(Num, RTC5_ACCESS_DENIED);
}
}
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, set_verify
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
parameter
values
OffsetX,
OffsetY
Reference values as pointers to signed 32-bit values
Comments For 2D encoder compensation, see page 184.
RTC
®
4
RTC
®
5 new command
Version info Available beginning with version DLL 536, OUT 536
References init_fly_2d, set_fly_2d
Ctrl Command get_error

Table of Contents

Related product manuals