Fluke 2635A Lawn Mower User Manual


 
Appendices
Binary Upload of Logged Data
C
C-7
Example
Figure C-3 is a short example that uses the routines in Figures C-1 and C-2 to decode a
fixed (pre-computed) LOG_BIN? response string.
When compiled and run on an Intel architecture computer, the program should print
"Conversion worked".
Although this example is useful for educational purposes, it is not very efficient. If
desired, the decoding and conversion processes can be combined into a single, fast
algorithm.