Version 1 (modified by 14 years ago) ( diff ) | ,
---|
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
Note:
See TracWiki
for help on using the wiki.