User-Defined Protocol Properties Dialog

The User-Defined Protocol Properties dialog allows you to specify scale commands for a scale that is not natively supported by BarTender.

Scale commands enable BarTender to receive input (typically a weight) from a scale that is connected to a serial or network port on your computer. The most common protocols, along with their associated scale commands, are installed with BarTender; however, you may use a scale not included in this list. In this case, you will need to set up a new protocol and define the scale commands using the User-Defined Protocol Properties dialog.

You can access this dialog in one of the following ways:

When you create a new protocol that is not natively supported by BarTender, you need to specify a Command and Response Pattern for each of the scale commands you require. A command is the set of instructions sent by BarTender to the scale that tells the scale to do something. A response or response pattern is the scale's response to the specified command.

BarTender uses the following five basic commands for communicating with the scale. At a minimum, BarTender requires the scale to support either the Request Immediate Weight or the Request Stable Weight command. All other commands are optional.

The response pattern must use regular expression syntax. For more information, refer to Field Names Used in Regular Expressions and Regular Expression Examples.

If your command and response pattern matches that of an existing protocol, you can choose to copy an existing protocol from one of the common protocols installed with BarTender by clicking the Copy Existing Protocol button.

For additional information regarding scale commands and the common protocols installed with BarTender, see Weighing Scale Configuration.