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

SetTareValue

Sets the specified scale tare weight to the specified value

int SetTareValue(int nScale, float fTare);

Parameters

  • nScale - scale number to tare
  • fTare - tare value

Return Value

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

Remarks

Examples

float fTare = 200.0;
if(SetTareValue(1, fTare) != OK)
{
   DisplayText(0, 0, "Error setting tare");
}

See Also

Last modified 6 years ago Last modified on 04/13/18 07:25:24
Note: See TracWiki for help on using the wiki.