1 | | bool GetMotion(int nScale = g_nMnBdProcessScale) |
| 1 | = GetMotion = |
| 2 | Get tare weight value. |
| 3 | |
| 4 | {{{ |
| 5 | bool GetMotion(int nScale = process_scale) |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | * nScale - scale number |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | * Returns true if the specified scale is in motion or false if stable. |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | == Examples == |
| 19 | |
| 20 | {{{ |
| 21 | if(GetMotion()) |
| 22 | { |
| 23 | DisplayText(20, 20, "Motion"); |
| 24 | } |
| 25 | }}} |
| 26 | |
| 27 | {{{ |
| 28 | if(GetMotion(1)) |
| 29 | { |
| 30 | DisplayText(20, 20, "Motion"); |
| 31 | } |
| 32 | }}} |
| 33 | |
| 34 | == See Also == |
| 35 | |
| 36 | * GetGrossWt |
| 37 | * GetNetWt |