Field Names Used in Regular Expressions |
BarTender supports the use of the following regular expression fields:
The following fields are used in regular expressions to enhance readability in
Field Name |
Usage |
Sign |
Negative sign indicator. If this field is found, the weight value is multiplied by "-1" |
Weight |
Weight field. Should include numbers and decimal point only. |
WholeValue |
Whole value field used by scales that present weight with fractions. This field should be numerical only. |
Numerator |
Numerator of the weight. This field should be numerical only. |
Denominator |
Denominator of the weight. This field should be numerical only. |
Units |
Defines a group that contains all units supported by scale. This field is not currently used, but is allowed in regular expressions for better readability. |
Status |
Status field. This field is not currently used, but is allowed in regular expressions for better readability. |
NetStatus |
Net weight status field. This field is not currently used, but is allowed in regular expressions for better readability. |
MotionStatus |
Motion status field. This field is not currently used, but is allowed in regular expressions for better readability. |
Stable |
Stable weight indicator. If this field is found, the weight treated as stable. |
Unstable |
Unstable weight indicator. This field is not currently used, but is allowed in regular expressions for better readability. |
Error |
Error indicator. If this field is found scale returned an error. |
ZeroingError |
Zeroing Error indicator. This field is not currently used, but is allowed in regular expressions for better readability. |
OverCapacity |
Over capacity indicator. This field is not currently used, but is allowed in regular expressions for better readability. |
UnderCapacity |
Under capacity indicator. This field is not currently used, but is allowed in regular expressions for better readability. |
Net Weights • Gross Weights • Tare Weights • Return to Top>
The following units of measurements are supported in
Field Name |
Usage |
PoundOunce |
Indicator that weight is in form of "Pounds<separator>Ounces". Used in regular expressions for better readability. |
PoundValue |
Pounds value. Used when scale returns weight in this form: "Pounds<separator>Ounces". |
OunceValue |
Ounces value. Used when scale returns weight in this form: "Pounds<separator>Ounces". |
OunceWholeValue |
Whole value of the ounce portion of the weight in the "lb:oz" format. This field should be numerical only. |
OunceNumerator |
Numerator of the ounce portion of the weight in "lb:oz" format. This field should be numerical only. |
OunceDenominator |
Denominator of the ounce portion of the weight in "lb:oz" format. This field should be numerical only. |
mg |
Milligrams indicator. If this field is found, the weight is in milligrams. |
g |
Grams indicator. If this field is found, the weight is in grams. |
kg |
Kilograms indicator. If this field is found, the weight is in kilograms. |
dwt |
Pennyweights indicator. If this field is found, the weight is in pennyweights. |
ct |
Carats indicator. If this field is found, the weight is in carats. |
oz |
Ounces indicator. If this field is found, the weight is in ounces. |
ozt |
Troy ounces indicator. If this field is found, the weight is in troy ounces. |
Grain |
Grains indicator. If this field is found, the weight is in grains. |
TaelHK |
Taels (Hong Kong) indicator. If this field is found, the weight is in Taels (Hong Kong). |
TaelSG |
Taels (Singapore)indicator. If this field is found, the weight is in Taels (Singapore). |
TaelTW |
Taels (Taiwan)indicator. If this field is found, the weight is in Taels (Taiwan). |
Momme |
Mommes indicator. If this field is found, the weight is in mommes. |
lb |
Pounds indicator. If this field is found, the weight is in pounds. |
Newton |
Newton indicator. If this field is found, the weight is in newtons. |
Tical |
Ticals indicator. If this field is found, the weight is in ticals. |
Tola |
Tolas indicator. If this field is found, the weight is in tolas. |
Ton |
Tons indicator. If this field is found, the weight is in tons. |
LongTon |
Long tons indicator. If this field is found, the weight is in long tons. |
MicroG |
Micrograms indicator. If this field is found, the weight is in micrograms. |
Mesghal |
Mesghals indicator. If this field is found, the weight is in mesghals. |
Baht |
Bahts indicator. If this field is found, the weight is in bahts. |
MT |
Metric tons indicator. If this field is found, the weight is in metric tons. |
Drams |
Drams indicator. If this field is found, the weight is in drams. |
Gross Weights • Tare Weights • Return to Top
The following net weight fields can be used in regular expressions for
Field Name |
Usage |
NetSign |
Net weight Negative sign indicator. If this field is found, the net weight value is multiplied by "-1." |
NetWeight |
Net weight field. Should include numbers and decimal point only. Represents the actual weight of the substance on the scale. |
NetWholeValue |
Whole value of the net weight. This field should be numerical only. |
NetNumerator |
Numerator of the net weight. This field should be numerical only. |
NetDenominator |
Denominator of the net weight. This field should be numerical only. |
NetStable |
Stable net weight indicator. If this field is found, the net weight is treated as stable. |
Net_mg |
Net weight milligrams indicator. If this field is found, the net weight is measured in milligrams. |
Net_g |
Net weight grams indicator. If this field is found, the net weight is measured in grams. |
Net_kg |
Net weight kilograms indicator. If this field is found, the net weight is measured in kilograms. |
Net_dwt |
Net weight pennyweights indicator. If this field is found, the net weight is measured in pennyweights. |
Net_ct |
Net weight carats indicator. If this field is found, the net weight is measured in carats. |
Net_oz |
Net weight ounces indicator. If this field is found, the net weight is measured in ounces. |
Net_OunceWholeValue |
Whole value of the ounce portion of the net weight in the "lb:oz" format. This field should be numerical only. |
Net_OunceNumerator |
Numerator of the ounce portion of the net weight in "lb:oz" format. This field should be numerical only. |
Net_OunceDenominator |
Denominator of the ounce portion of the net weight in "lb:oz" format. This field should be numerical only. |
Net_ozt |
Net weight troy ounces indicator. If this field is found, the net weight is measured in troy ounces. |
Net_Grain |
Net weight grains indicator. If this field is found, the net weight is measured in grains. |
Net_TaelHK |
Net weight taels (Hong Kong) indicator. If this field is found, the net weight is measured in taels (Hong Kong). |
Net_TaelSG |
Net weight taels (Singapore) indicator. If this field is found, the net weight is measured in taels (Singapore). |
Net_TaelTW |
Net weight taels (Taiwan) indicator. If this field is found, the net weight is measured in taels (Taiwan). |
Net_Momme |
Net weight mommes indicator. If this field is found, the net weight is measured in mommes. |
Net_lb |
Net weight pounds indicator. If this field is found, the net weight is measured in pounds. |
Net_Newton |
Net weight newtons indicator. If this field is found, the net weight is measured in newtons. |
Net_Tical |
Net weight ticals indicator. If this field is found, the net weight is measured in ticals. |
Net_Tola |
Net weight tolas indicator. If this field is found, the net weight is measured in tolas. |
Net_Ton |
Net weight tons indicator. If this field is found, the net weight is measured in tons. |
Net_LongTon |
Net weight long tons indicator. If this field is found, the net weight is measured in long tons. |
Net_MicroG |
Net weight micrograms indicator. If this field is found, the net weight is measured in micrograms. |
Net_Mesghal |
Net weight mesghals indicator. If this field is found, the net weight is measured in mesghals. |
Net_Baht |
Net weight bahts indicator. If this field is found, the net weight is measured in bahts. |
Net_MT |
Net weight metric tons indicator. If this field is found, the net weight is measured in metric tons. |
Net_Drams |
Net weight drams indicator. If this field is found, the net weight is measured in drams. |
Net_PoundValue |
Net weight pounds value. Used when scale returns weight in this form: "Pounds<separator>Ounces." |
Net_OunceValue |
Net weight ounces value. Used when scale returns weight in this form: "Pounds<separator>Ounces." |
General Use Fields • Tare Weights • Return to Top
The following gross weight fields can be used in regular expressions for
Field Name |
Usage |
GrossWeight |
Gross weight field. Should include numbers and decimal point only. Represents the total weight result on the scale. |
GrossWholeValue |
Whole value of the gross weight. This field should be numerical only. |
GrossNumerator |
Numerator of the gross weight. This field should be numerical only. |
GrossDenominator |
Denominator of the gross weight. This field should be numerical only. |
GrossSign |
Gross weight Negative sign indicator. If this field is found, the gross weight value is multiplied by "-1." |
GrossStable |
Stable gross weight indicator. If this field is found, the gross weight is treated as stable. |
Gross_mg |
Gross weight milligrams indicator. If this field is found, the gross weight is measured in milligrams. |
Gross_g |
Gross weight grams indicator. If this field is found, the gross weight is measured in grams. |
Gross_kg |
Gross weight kilograms indicator. If this field is found, the gross weight is measured in kilograms. |
Gross_dwt |
Gross weight pennyweights indicator. If this field is found, the gross weight is measured in pennyweights. |
Gross_ct |
Gross weight carats indicator. If this field is found, the gross weight is measured in carats. |
Gross_oz |
Gross weight ounces indicator. If this field is found, the gross weight is measured in ounces. |
Gross_OunceWholeValue |
Whole value of the ounce portion of the gross weight in "lb:oz" format. This field should be numerical only. |
Gross_OunceNumerator |
Numerator of the ounce portion of the gross weight in "lb:oz" format. This field should be numerical only. |
Gross_OunceDenominator |
Denominator of the ounce portion of the gross weight in "lb:oz" format. This field should be numerical only. |
Gross_ozt |
Gross weight troy ounces indicator. If this field is found, the gross weight is measured in troy ounces. |
Gross_Grain |
Gross weight grains indicator. If this field is found, the gross weight is measured in grains. |
Gross_TaelHK |
Gross weight taels (Hong Kong) indicator. If this field is found, the gross weight is measured in taels (Hong Kong). |
Gross_TaelSG |
Gross weight taels (Singapore) indicator. If this field is found, the gross weight is measured in taels (Singapore). |
Gross_TaelTW |
Gross weight taels (Taiwan) indicator. If this field is found, the gross weight is measured in taels (Taiwan). |
Gross_Momme |
Gross weight mommes indicator. If this field is found, the gross weight is measured in mommes. |
Gross_lb |
Gross weight pounds indicator. If this field is found, the gross weight is measured in pounds. |
Gross_Newton |
Gross weight newtons indicator. If this field is found, the gross weight is measured in newtons. |
Gross_Tical |
Gross weight ticals indicator. If this field is found, the gross weight is measured in ticals. |
Gross_Tola |
Gross weight tolas indicator. If this field is found, the gross weight is measured in tolas. |
Gross_Ton |
Gross weight tons indicator. If this field is found, the gross weight is measured in tons. |
Gross_LongTon |
Gross weight long tons indicator. If this field is found, the gross weight is measured in long tons. |
Gross_MicroG |
Gross weight micrograms indicator. If this field is found, the gross weight is measured in micrograms. |
Gross_Mesghal |
Gross weight mesghals indicator. If this field is found, the gross weight is measured in mesghals. |
Gross_Baht |
Gross weight bahts indicator. If this field is found, the gross weight is measured in bahts. |
Gross_MT |
Gross weight metric tons indicator. If this field is found, the gross weight is measured in metric tons. |
Gross_Drams |
Gross weight drams indicator. If this field is found, the gross weight is measured in drams. |
Gross_PoundValue |
Gross weight pounds value. Used when scale returns weight in this form: "Pounds<separator>Ounces." |
Gross_OunceValue |
Gross weight ounces value. Used when scale returns weight in this form: "Pounds<separator>Ounces." |
General Use Fields • Units of Measurement • Return to Top
The following tare weight fields can be used in regular expressions for
Field Name |
Usage |
TareWeight |
Tare weight field. Should include numbers and decimal point only. Represents the unladen weight of the container on the scale. |
TareWholeValue |
Whole value of the tare weight. Should include numbers only. |
TareNumerator |
Numerator of the tare weight. Should include numbers only. |
TareDenominator |
Denominator of the tare weight. Should include numbers only. |
TareSign |
Tare weight Negative sign indicator. If this field is found, the Tare weight value is multiplied by "-1." |
Tare_mg |
Tare weight milligrams indicator. If this field is found, the tare weight is measured in milligrams. |
Tare_g |
Tare weight grams indicator. If this field is found, the tare weight is measured in grams. |
Tare_kg |
Tare weight kilograms indicator. If this field is found, the tare weight is measured in kilograms. |
Tare_dwt |
Tare weight pennyweights indicator. If this field is found, the tare weight is measured in pennyweights. |
Tare_ct |
Tare weight carats indicator. If this field is found, the tare weight is measured in carats. |
Tare_oz |
Tare weight ounces indicator. If this field is found, the tare weight is measured in ounces. |
Tare_OunceWholeValue |
Whole value of the ounce portion of the tare weight in "lb:oz" format. This field should be numerical only. |
Tare_OunceNumerator |
Numerator of the ounce portion of the tare weight in the "lb:oz" format. This field should be numerical only. |
Tare_OunceDenominator |
Denominator of ounce portion of the tare weight in the "lb:oz" format. This field should be numerical only. |
Tare_ozt |
Tare weight troy ounces indicator. If this field is found, the tare weight is measured in ounces. |
Tare_Grain |
Tare weight grains indicator. If this field is found, the tare weight is measured in grains. |
Tare_TaelHK |
Tare weight taels (Hong Kong) indicator. If this field is found, the tare weight is measured in taels (Hong Kong). |
Tare_TaelSG |
Tare weight taels (Singapore) indicator. If this field is found, the tare weight is measured in taels (Singapore). |
Tare_TaelTW |
Tare weight taels (Taiwan) indicator. If this field is found, the tare weight is measured in taels (Taiwan). |
Tare_Momme |
Tare weight mommes indicator. If this field is found, the tare weight is measured in mommes. |
Tare_lb |
Tare weight pounds indicator. If this field is found, the tare weight is measured in pounds. |
Tare_Newton |
Tare weight newtons indicator. If this field is found, the tare weight is measured in newtons. |
Tare_Tical |
Tare weight ticals indicator. If this field is found, the tare weight is measured in ticals. |
Tare_Tola |
Tare weight tolas indicator. If this field is found, the tare weight is measured in tolas. |
Tare_Ton |
Tare weight tons indicator. If this field is found, the tare weight is measured in tons. |
Tare_MicroG |
Tare weight micrograms indicator. If this field is found, the tare weight is measured in micrograms. |
Tare_Mesghal |
Tare weight mesghals indicator. If this field is found, the tare weight is measured in mesghals. |
Tare_Baht |
Tare weight bahts indicator. If this field is found, the tare weight is measured in bahts. |
Tare_MT |
Tare weight metric tons indicator. If this field is found, the tare weight is measured in metric tons. |
Tare_Drams |
Tare weight drams indicator. If this field is found, the tare weight is measured in drams. |
Tare_PoundValue |
Tare weight pounds value. Used when a scale returns weight in this form: "Pounds<separator>Ounces." |
Tare_OunceValue |
Tare weight ounces value. Used when a scale returns weight in this form: "Pounds<separator>Ounces." |
General Use Fields • Units of Measurement • Net Weights • Return to Top
Related Topics