Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/SetTareValue


Ignore:
Timestamp:
08/20/10 13:40:24 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/SetTareValue

    v1 v1  
     1= SetTareValue =
     2Sets the specified scale tare weight to the specified value
     3
     4{{{
     5int SetTareValue(int nScale = process_scale);
     6}}}
     7
     8== Parameters ==
     9
     10 * nScale - scale number to tare
     11
     12== Return Value ==
     13
     14 * Returns OK if successful, otherwise it failed do to motion or other error. Use MnBdGetErrMsg to obtain reason.
     15
     16== Remarks ==
     17
     18
     19== Examples ==
     20
     21{{{
     22float fTare = 200.0;
     23if(SetTareCurrent(1, fTare) != OK)
     24{
     25   DisplayText(0, 0, "Error setting tare");
     26}
     27}}}
     28
     29
     30== See Also ==
     31
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdGetErrMsgStr MnBdGetErrMsgStr]
     33 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/SetTareCurrent SetTareCurrent]
     34 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/ZeroScale ZeroScale]