EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Eth_Get_Error

Scanlab RTC6 PCIe Board
1004 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...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
366
innovators for industry
Ctrl Command eth_get_error
Function Returns an accumulated error code. It contains all errors which occurred with the most
recently executed RTC6 Ethernet Board commands.
Call
EthAccError = eth_get_error()
Parameters None.
Result Error code. Identical to eth_get_last_error.
As an unsigned 32-bit value.
If multiple errors occurred simultaneously, then multiple bits are set.
Comments For error handling, see Chapter 6.8 ”Error Handling”, page 130.
eth_get_error and n_eth_get_error are available even without explicit access rights
to a specific RTC6 Ethernet Board.
The board-specific error variables
LastError
and
AccError
(see Chapter 6.8 ”Error
Handling”, page 130) are neither generated nor altered by eth_get_error.
If with an RTC6 Ethernet Board command call (internally) several errors occur
successively, eth_get_last_error probably returns only the very last error (for example,
only “not_acquired”). The actual error causes can be identified by eth_get_error
because it returns the accumulated errors.
The accumulated error is reset automatically with each acquiring of the RTC6 Ethernet
Board.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 608, OUT 608, RBF 611.
References acquire_rtc, eth_get_last_error

Table of Contents