EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Eth_Get_Ip; Eth_Get_Ip_Search

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
367
innovators for industry
Ctrl Command eth_get_ip
Function Returns the pertaining IP address for a specified RTC6 board management index.
Call
IP = eth_get_ip( CardNo )
Parameters
CardNo
Index of the RTC6 Ethernet Board in the RTC6 board management.
As an unsigned 32-bit value.
Result IP address. In Big Endian byte order.
The value is 0, if the board is not an RTC6 Ethernet Board.
Comments eth_get_ip is not available as a multi-board command.
To convert from Big Endian byte order to the usual dotted decimal notation,
eth_convert_ip_to_string can be used. See also Chapter 16.5.1 ”Notes on Working
with IP Addresses”, page 904.
eth_get_ip allows an faster IP address query from the RTC6 board management than
by eth_get_card_info.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
References eth_convert_ip_to_string, eth_get_card_info
Ctrl Command eth_get_ip_search
Function Returns the pertaining IP address for a specified RTC6 Ethernet Board in the search result
list.
Call
IP = eth_get_ip_search( SearchNo )
Parameters
SearchNo
Index in the search result list.
As an unsigned 32-bit value.
Result IP address. In Big Endian byte order.
Comments eth_get_ip_search is not available as a multi-board command.
To create the search result list, use either eth_search_cards or
eth_search_cards_range. Their result value is the same as the one of
eth_found_cards. See also Chapter 16.5.2 ”About Searching RTC6 Ethernet Boards”,
page 904.
The result value is 0 for
SearchNo
= 0 and
SearchNo
> eth_found_cards.
At the same time the get_last_error return code
RTC6_PARAM_ERROR
is generated.
If an search has not yet been carried-out then automatically the following applies:
SearchNo
> eth_found_cards.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 608, OUT 608, RBF 611.
References eth_get_ip

Table of Contents