WD7802Term/ActiveX
WD7802Term
is a drop in ActiveX component that allows programmers to easily add the ability to send
prompts to and receive data from their R/F Terminal across a wireless 802.11 Ethernet network connection.
The ActiveX component is compatible with Visual Basic, Visual C++, Delphi, and most other 32-bit
development platforms.
Make sure you compiler is set to generate 32-bit compatible files.
Programming Considerations
Network Setup
•
The network settings on the server must support TCP/IP communications.
•
It is critical that the Terminals (via one or more Access Points), Connection Host and Application Server
are "visible" to each other across your network. Terminals, Connection Host and Application Server
must have IP addresses in the same subnet. The Connection Host and Application Server should have
static IP addresses (that do not change) while the Terminal(s) 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.
•
WD7802Term
uses an assignable IP port. The default is 80.
•
If you are unsure of how to set up your IP configuration properly, refer to your network administrator for
help.
Server Communications
•
Run the Hardware Utilities 7802 Test Program on the server computer. Now go to a Terminal and
attempt to SIGN IN to the Test Program. If the terminal connects and responds with a prompt “Scan
Item”, you are configured properly.
•
Make sure you set the ConnectionHostAddr property to the desired web address or local IP address of
the computer on your LAN running the Windows-based Connection Host. Use
www.worthdata.net/connect/server.php
if you are unsure.
•
Make sure you set the Username, Password, and ServerID properties in the ActiveX to match the
settings in your Terminals.
•
Before making any
WD7802term
method calls in your application, make sure to turn the Server on by
calling
WD7802Term.InitializeServer
WD7802Term.ServerActive = True
79