Moxa Technologies DE-303, DE-308 manual Programming Problems, A-4 NPort Server Pro User’s Manual

Models: DE-308 DE-303

1 169
Download 169 pages 44.24 Kb
Page 156
Image 156
Programming Problems

¿You cannot find the server after rebooting your Windows NT/95/98 server.

It’spossiblethatyouhaveaDHCPserveronyournetwork.SinceDHCPserverscanassignIP addresses,theIPaddressforeitherthehostorNPortServerPromighthavebeenchanged.Torecover fromthisproblem,youshould:

1.Ask the administrator of your DHCP server to assign a dedicated IP address to both your Windows NT/95/98 host and to NPort Server Pro.

2.Make sure your NPort Manager Pro operating mode is either Multi-Host or Custom.

3.Change the IP address of the server to the dedicated IP address assigned by your DHCP administrator.

4.Change the IP address of your Windows NT/95/98 host to the dedicated IP address assigned by your DHCP administrator.

.Note: Please refer to Appendix D to learn how to configure your Windows NT/95/98 to the dedicated IP address.

5.Modify the Security list to include your NT/95/98 host.

6.Save Configuration.

Programming Problems

¿Win32 COMM API functions return fail, or the PComm Pro library functions return a Fail code - SIO_WIN32FAIL

ThefailcodefortheCOMMAPIfunctionsimpliessomethingdifferentthanthefailcodereceived fromthestandardCOMdriver.Forexample,yougetthefailcodewhenthenetworkconnectedtothe serverisunreachable,ortheserverisoffline.IfthenetworkconnectionisthroughtheInternet,the networkcouldbeunreachableifInternettrafficisjammed.Thisdoesnotmeanyouhaveadefective server.Torecoverfromthistypeoferror,youcanmodifyyourprogramsothattheportis automaticallyclosedandthenre-opened.

YoushouldalsocheckthefollowingtomakesurethattheproblemisonlywiththeTCP/IPnetwork:

1.If the server is off-line, turn it on.

2.If the route to NPort Server Pro is reachable, you may test it by using

Ping [NPort-Server-Pro-IP-address]

If a route to the server cannot be established, check your routing table or the server's routing table.

A-4 NPort Server Pro User’s Manual

Page 156
Image 156
Moxa Technologies DE-303, DE-308 manual Programming Problems, A-4 NPort Server Pro User’s Manual