EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 900

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
900
innovators for industry
16.4 Notes on Migrating Existing
and Programming New RTC6
User Programs
RTC6 Ethernet Boards must be registered manually to
the RTC6 board management, see Chapter 16.5.3
”About the RTC6 Board Management”, page 905
(init_rtc6_dll only searches RTC6 PCIe Boards).
After that, RTC6 Ethernet Boards can used generally
in the same way as RTC6 PCIe Boards.
In principle, communication via Ethernet is more
unsteady compared to a PCIe bus connection within
a PC. Therefore, further attention should be paid to
potentially occurring errors and to its handling than
with RTC6 PCIe Boards (see get_last_error).
16.4.1 Finding RTC6 Ethernet Boards
in the Network and Querying
their Properties
Case 1: IP address of the RTC6 Ethernet Board is
known
card_no = eth_assign_card_ip(ip, 0); // 0: assign to first free number
Result = select_rtc(card_no); // If Result equals CardNo: Success
Case 2: IP address of the RTC6 Ethernet Board is
not known
result = eth_search_cards(eth_convert_string_to_ip("192.168.250.1"),
eth_convert_string_to_ip("255.255.255.0"));
if (result != 0)
{
card_no = eth_assign_card(1, 0); // take first found card, assign to first free number
result = select_rtc(card_no);
if (result == card_no)
{
ip = eth_get_ip(); // now IP address is known
.… // do anything
}
}

Table of Contents