wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/ZeroScale

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");
}

See Also

Last modified 6 years ago Last modified on 04/12/18 13:03:30
Note: See TracWiki for help on using the wiki.