Worth Data 701 RF Owner's Manual Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 87
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
52
Concepts - TCP/IP COM
Drop-in components are tools that are added to your programming environment "tool kit". Only the ActiveX variety are widely
compatible with almost all development environments. When you use drop-in components in your program you will follow the
standard object-oriented programming paradigm that uses properties, methods, and events to implement the functionality of the
drop-in component.
Properties are the various configuration variables used by the drop-in component. An example of a property is the ServerOn set-
ting.
Methods are function calls used to issue commands and access features of the drop-in component. An example of a method is
sending an Input command to the terminal.
Events are function definitions placed in your application’s source code. The function definitions in your source code are called
Event Handlers. The skeleton structure of the event handler’s source code is automatically generated. The code in the Event Han-
dler is called ("fired") by the drop-in component when a specific event occurs. An example of an event is when a terminal returns
data and the OnTermData event is fired.
The details of how to access Properties/Methods/Events varies between development platforms. Details of how it works in some
of the most popular platforms is illustrated in the samples included with the RF Utilities CD or available for download from our
website at:
http://www.barcodehq.com/downloads.html
Properties - TCP/IP COM
Properties are the various configuration variables used by the WDIPterm control. They are directly assignable in your application
(e.g. "WDIPterm.ServerOn = true") and can be set in your development environment’s object browser.
Note that your development environment may show more properties for the WDIPterm control than are listed here. This is nor-
mal. You may ignore properties you see listed in your development environment that are not listed here.
ServerOn
Valid values: True, False
Function: Set to True to enable the server. Set to false to turn the server off. You should leave this off unless your
program is actually running. Setting it to True at design-time can cause problems.
Quiet
Valid values: True, False
Function: If Quiet is set to True then any status and error message generated by WDIPterm will be suppressed.
LogFile
Valid values: blank or a valid file name
Function: If the file does not exist it will be created. If it exists, it will be appended to. If LogFile is blank, no log
file is maintained.
ClientList
Valid Values: Read Only.
Function: Returns a formatted string listing all attached client BaseNames and associated IP numbers. Format is
"basename CR/LF IP address CR/LF basename…".
Methods - TCP/IP COM
Methods are commands that you issue to the WDIPterm control. All of the "Inputxxx" commands cause the terminal to wait for
operator input.
Note that your development environment may show more available methods for the WDIPterm control than are listed here. This
is normal. You may ignore methods you see that are not listed here.
InputAny
Parameters: basename, channel, terminal, line, position, prompt, shifted, timestamped
Function: This instructs the terminal attached to client basename on channel to display the prompt at line and posi-
tion and wait for data to be entered from either terminal keypad or scanner. If shifted is set to "true", the
terminal will start in shifted mode. Timestamped appends a (hhmmss) prefix to the returned data.
InputKeyBd
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 86 87

Comments to this Manuals

No comments