= ZeroScale = Sets the specified scale to zero weight {{{ int ZeroScale(int nScale = process_scale); }}} == Parameters == * nScale - scale number to zero == Return Value == * Returns the value indicating result OK is successful, other it may failed to to motion or weight being outside of zero range. Use MnBdGetErrMsg to obtain reason. == Remarks == This will format the raw gross weight into appropriate divisions and add zeros for zero weight if necessary based on the interval. For example, for interval of 20 lb is specified and the weight is zero the output will be " 00". == Examples == {{{ if(ZeroScale(1) != OK) { DisplayText(0, 0, "Error setting zero"); } }}} {{{ char szWt[20]; FormatGossWt(1, szWt); DisplayText(0, 0, szWt); }}} == See Also == * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdGetErrMsgStr MnBdGetErrMsgStr] * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/SetTareCurrent SetTareCurrent] * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/SetTareValue TareValue]