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

Version 3 (modified by Don Wilson, 7 years ago) ( diff )

--

SetTareCurrent

Sets the specified tare weight to the current scale weight

int SetTareCurrent(int nScale = process_scale);

Parameters

  • nScale - scale number to zero

Return Value

  • Returns OK if successful, otherwise it failed due to motion or other error. Use MnBdGetErrMsg to obtain reason.

Remarks

Examples

if(SetTareCurrent(1) != OK)
{
   DisplayText(0, 0, "Error setting tare");
}

See Also

Note: See TracWiki for help on using the wiki.