Promptnet tcp/ip active x controls – Worth Data RF Terminal 7000 User Manual

Page 61

Advertising
background image

PromptNET TCP/IP Active X Controls

PromptNET/ActiveX is a drop in COM component that allows programmers to easily add the ability to
send prompts to and receive data from their RF Terminal via an RF Base Station across a TCP/IP network
connection.

PromptNET requires a "Client" computer on a TCP/IP network (to which up to 4 serial Base Stations can
be attached) and a "Server" computer visible on the network to the Client.

The client computer runs the PromptNET Client Utility program as a background task. The server
computer runs your application which uses the PromptNET ActiveX component to communicate with the
Client.

The ActiveX component is compatible with Visual Basic, Visual C++, Delphi, and most other 32-bit
development platforms. The client program requires Windows 98 or later. See the help file for installation
instructions.

Programming Considerations

Network Setup

The network settings on both client and server must support TCP/IP communications.

It is critical that the client and server computers are "visible" to each other across your network. Both
computers must have an IP address in the same subnet. The server requires a static IP address while the
Client can either have a static address or use an assigned IP address via a DHCP server or equivalent. Refer
to your Windows networking administration utility in the Control Panel to configure computer IP address
settings.

PromptNET uses ports 54123 (server) and 54124 (client).

You can link server and client through a dial-up or DSL Internet link as long as the server has a static IP
address and your router passes the above ports.

If you are unsure of how to set up your IP configuration properly, refer to your network administrator for
help.

Client Utility

Make sure the Client Utility is properly installed on the client computer and communicating with at least
one Base Station. Test the Client by cycling power on the Base Station. You should see a "Base SignOn"
message in the monitor window.

Server Communications

Run the Server Test Utility on the server computer. Now go to the client computer, set the IP address for the
server computer and a unique "Base Name" for the Client Utility and attempt to connect to the Server Test
Utility. If the Client Utility connects, you are configured properly. Go to the server computer, shut down the
Server Test Utility and begin work on your PromptNET server application.

For Client/Server communications, the Client Utility is required to be running on the PC that the serial Base
Stations are attached to.

Advertising