EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Eth_Convert_String_To_Ip

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
359
innovators for industry
Ctrl Command eth_convert_string_to_ip
Function Converts an IP address in usual dotted decimal notation (for example, “192.168.250.1”)
to the big-endian byte order.
Call
ResultIp = eth_convert_string_to_ip( &IpString )
Parameters
IpString
To-be converted IP address in usual dotted decimal notation.
As a string (char array). As a pointer to a \0-terminated ANSI string.
16 bytes max.
Result IP address.
As an unsigned 32-bit value.
0:
IpString
is faulty.
> 0: Converted IP address in big-endian byte order.
Comments eth_convert_string_to_ip is not available as a multi-board command.
Example: With parameter
IpString
= “192.168.250.1” the result value is
IpString
= 33204416.
See also comment at eth_search_cards.
The use of eth_convert_string_to_ip is useful, for example, for eth_search_cards,
eth_search_cards_range and eth_set_static_ip as well as with eth_get_card_info
and eth_get_card_info_search.
See also Chapter 16.5.1 ”Notes on Working with IP Addresses”, page 904.
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, eth_get_card_info_search,
eth_search_cards, eth_search_car
ds_range, et
h_set_static_ip

Table of Contents