EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 904

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
16 Appendix A: The RTC6 Ethernet Board
904
innovators for industry
16.5 RTC6 Ethernet Board
Commands and Functions
16.5.1 Notes on Working with
IP Addresses
With the RTC6 commands, all IP addresses (always
IPv4, IPv6 is not supported) are specified as decimal
values in Big Endian format
(“Big Endian byte order”).
For example, the IP address “192.168.250.1” must be
specified as “33204416”, see following table.
eth_convert_ip_to_string converts the IP address
in Big Endian byte order to usual dotted decimal
notation.
eth_convert_string_to_ip converts the IP address
in usual dotted decimal notation to Big Endian byte
order.
16.5.2 About Searching
RTC6 Ethernet Boards
To search for all RTC6 Ethernet Boards available in the
network, eth_search_cards can be used. If the
search is to be limited to a certain address range only,
then eth_search_cards_range is to be used.
The data of all RTC6 Ethernet Boards which have
been answered within a configurable timeout (see
eth_set_search_cards_timeout) are registered to
the search result list (see below).
By a card search, RTC6 Ethernet Boards with
unknown IP address can be identified in the network
(for example, because the have received it
dynamically by a DHCP server).
The found RTC6 Ethernet Boards are registered in a
temporary list which is the search result list.
For a specified search result list index
eth_get_card_info_search returns the available
information on the RTC6 Ethernet Board, whereas
eth_get_ip_search returns only the IP address and
eth_get_serial_search only the serial number.
On the one hand the number of found RTC6 Ethernet
Boards is already returned by eth_search_cards. On
the other hand eth_found_cards also returns it at
any time as well (without the need to perform the
search in the network again).
Several subsequent calls of eth_search_cards can
deliver different results, depending how many
RTC6 Ethernet Boards are available in the network
and in which chronological order the answers come
in.
Format IP address Hex value Decimal value
Little
Endian
192.168.250.1
(a)
(a) Usual dotted decimal notation.
0×C0A8FA01 3232299521
Big
Endian
1.250.168.192 0×01FAA8C0
33204416
Index Record in the search result list
1 Information
(a)
on RTC6 Ethernet Board 1
(a) IP address, serial number, connection status, etc., see
eth_get_card_info_search.
2 Information
(a)
on RTC6 Ethernet Board 2
n Information
(a)
on RTC6 Ethernet Board n

Table of Contents