NPort Server User’s Manual
A-4
2.
Make sure your NPort Manager type is under the Multi-Host or Custom type.
3.
Modify the IP address of the server to the dedicated IP address assigned by
your DHCP administrator.
4.
Modify the IP address of your Windows NT to the dedicated IP address
assigned by your DHCP administrator.
.
Note: Please refer the Appendix D for Configuring your Windows NT to
Dedicated IP Address.
5.
Modify the Security list to make sure your NT host is on the list.
6.
Save Configuration.
Programming Problems
u
Win32 COMM API functions return fail. Or, the
PComm
Pro library
functions return a Fail code - SIO_WIN32FAIL
The fail code for the COMM API functions imply different information from what
the standard COM driver does. For instance, you get the fail code when the
network to the server is unreachable or server is offline. If the network is through
Internet, network unreachable might happen while the Internet traffic is jammed.
Since it does not mean you get a defected server, you can write into your program
to close the port then re-open the port to recover this error. You may also check the
following to be sure it is only TCP/IP network problem:
1.
If the server is off-line, turn it on.
2.
If the route to the NPort Server is reachable. You may test it by using 'Ping
NPort-Server-IP-address'. If there is no route to the server, check with your
routing table or server's routing table.
To conquer this problem, programs should:
1.
Try to re-open the port if the fail code returns during the open (i.e. sio_open)
session.
2.
If the fail code returns during writing data, reading data, changing settings, and
others, you should close the file handler. Then try to open the port again.
Содержание NPort
Страница 12: ...NPort Server User s Manual 1 4 ...
Страница 38: ...NPort Server User s Manual 3 16 ...
Страница 62: ...NPort Server User s Manual 4 24 ...
Страница 98: ...NPort Server User s Manual 5 36 ...
Страница 104: ...NPort Server User s Manual 7 4 ...
Страница 110: ...NPort Server User s Manual A 6 ...
Страница 120: ......