Eth_Set_Static_Ip - Scanlab RTC6 PCIe Board Installation And Operation Manual

Real time control of scan systems and lasers rtc6 software package v1.16.0
Table of Contents

Advertisement

Ctrl Command eth_set_static_ip
Function
Writes a static IP address, a subnet mask and also a gateway address onto the
RTC6 Ethernet Board.
Result = eth_set_static_ip( Ip, NetMask, Gateway )
Call
Ip
Parameters
NetMask
Gateway
Result
Error code.
As an unsigned 32-bit value.
0:
1:
2:
3:
• Prerequisites for eth_set_static_ip:
Comments
– No list must currently be executed on the RTC6 Ethernet Board.
– The RTC6 Ethernet Board must be entered in the RTC6 board management.
– The RTC6 Ethernet Board must have been acquired.
• If no gateway is to be used, then Gateway must be set to 0.
• To convert from usual dotted decimal notation to Big Endian byte order,
eth_convert_string_to_ip
with IP Addresses", page
RTC4RTC6
New command.
RTC5RTC6
New command.
Version info
Available as of DLL 606, OUT 606, RBF 611.
References
eth_convert_string_to_ip,
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Static IP address in Big Endian byte order.
As an unsigned 32-bit value.
Subnet mask in Big Endian byte order.
As an unsigned 32-bit value.
Address of the gateway in Big Endian byte order.
As an unsigned 32-bit value.
Success: OK.
Error: No access to the RTC6 Ethernet Board.
return code RTC6_ACCESS_DENIED.
get_last_error
Error: No RTC6 Ethernet Board.
return code RTC6_TYPE_REJECTED.
get_last_error
Error: Programming the
Flash Memory
The RTC6 Ethernet Board is possibly busy.
get_last_error
return code
can be used. See also
904.
eth_get_static_ip
is not possible.
RTC6_BUSY
or RTC6_FLASH_ERROR.
Chapter 16.5.1 "Notes on Working
383

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?

This manual is also suitable for:

Rtc6 ethernet board

Table of Contents

Save PDF