Intermec 5020 User Guide

Page of 116
Chapter 2 — Developing and Testing Your Application
Data Collection Browser User’s Guide
31
Running Multiple Copies of the Simulator (Optional)
If you want to run a loopback test with many end devices or have the 
simulator connect to a dcBrowser gateway that is not on the same PC as the 
simulator, you can set up multiple copies of the simulator. 
To set up the simulator to run multiple copies
• From a DOS prompt, type 
–hx.x.x.x –pport –isimid –l
 and 
press Enter.
where:
x.x.x.x is the IP address for the PC running the dcBrowser gateway, and 
x is a value from 0 to 255.
port is the port number the gateway is communicating through. The 
default is 4060. Only change the port number if you change the 
DCS_PORT parameter in the DCB.INI file. For more information 
about the DCB.INI file, see the online help for the dcBrowser gateway 
for NT.
simid is a unique ASCII string that identifies the simulator copy.
-l starts the loopback test.
Setting Up the Sample Application and Web Pages (Optional)
When you load the simulator, a sample application and web pages are also 
loaded. Before you run your application and web pages in the test 
environment, test your test environment using the sample application and 
web pages.
To set up the sample application and web pages
1
Copy the .exe files from the 
\INTERMEC\DCBROWSER\EXAMPLES\
CGI_BASED\CGI\BIN
 directory to the CGI-BIN directory for your web 
server.
2
Copy the .htm files from the 
\INTERMEC\DCBROWSER\
EXAMPLES\CGI_BASED\HTML
 directory to the HTML directory for 
your web server.
3
Start your web server.
4
Start the Local dcBrowser Gateway. A DOS window appears.
5
Start your web browser.
Note: Only the first copy of the simulator is associated with function keys.
Note: If you use a Microsoft web server, you may need to create a virtual 
CGI-BIN that points to the directory where the files are installed. You 
must choose the Execute check box when configuring that directory.