Using the nethasp.ini file
Mastercam uses the nethasp.ini file to store information about your network and the location of the NetHASP server. It should be copied to the main program directory where Mastercam X is installed; for example, c:\mcamx. You are not required to have this file; however, if you do not, when Mastercam starts and checks for network licenses, it requires extra time to search all the workstations on the network for the NetHASP server. If all available licenses have been checked out by other Mastercam users on your network, it may take an especially long time. A properly nethasp.ini file virtually eliminates this delay.
To configure nethasp.ini for a TCP/IP network, follow these general steps.
- First, in the NH_COMMON section, select TCP/IP by including the line NH_TCPIP=Enabled. If your nethasp.ini file includes sample lines for several protocols, remove the comment characters from the TCP/IP line and make sure other protocols are commented out.
- Then, in the NH_TCPIP section, enter the address of your NetHASP server or servers. You can enter the addresses of as many servers as you need. Enter the addresses in either IP or URL format.
- Finally, select the proper packet type—either TCP or UDP—and specify whether or not you want messages broadcast.
Follow the sample shown here as a guide.
[NH_COMMON]
; This NetHASP.INI file is configured for TCPIP.
; Please note that you will have to enter the address of the
; NetHASP key station:
;; NH_IPX = Enabled ; sample lines for other protocols are commented out
;; NH_NETBIOS = Enabled
NH_TCPIP = Enabled ; use TCP/IP
[NH_TCPIP]
NH_SERVER_ADDR = 192.168.176.1, 192.168.176.5 ; these values are sample addresses
; Enter the IP addresses of all the NetHASP servers
; (License Managers) you want to search.
; Unlimited addresses are possible.
; Possible address format examples:
; IP address: 192.114.176.65
; Local Hostname: ftp.aladdin.com
NH_TCPIP_METHOD = TCP
; Send a TCP packet or UDP packet
; Default: UDP
NH_USE_BROADCAST = Enabled
; Use TCP/IP Broadcast mechanism.
; Default: Enabled
You can also download the Aladdin Diagnostix software utility from Aladdin Software. You can use this tool to automatically create .ini files. This same page includes more sample .ini files for different network configurations.
|