Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdSetWIM
- Timestamp:
- 02/26/20 08:51:40 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdSetWIM
v1 v2 19 19 20 20 == Remarks == 21 Requires at least main board version 1.20.009 and OS version 1.12.024. 22 21 23 This function instructs the main board to prepare for buffered weight recording. When the gross weight division value exceeds the on threshold for consecutive on count the buffering begins. Gross weights are recorded into the buffer. When the gross weight drops below the off threshold for consecutive off count the buffering stops. This allows the application to process high speed. 22 24 … … 24 26 25 27 {{{ 28 29 int minor_ver = 0; 30 int ver = GetMnBdVer(&minor_ver); 31 if(ver < 120 || (ver == 120 && minor_ver < 9)) 32 { 33 DrawErrorBox("Min mnbd ver 1.20.009", 10); 34 MnBdShutdown(); 35 exit(0); 36 } 37 38 uint32_t cardinal_ver = GetCardinalOSVer(); 39 if(cardinal_ver < MACE_VER(1, 12, 24)) 40 { 41 DrawErrorBox(Min OS ver 1.12.024", 10); 42 MnBdShutdown(); 43 exit(0); 44 } 26 45 27 46 float onWtThres = 1500.0;