Yes, I have the code from Appendix A and the functions.lua file with code from Appendix B.
I did change in B the line:
dmm.digitize.func = dmm.FUNC_DIGITIZE_CURRENT
to
dmm.digitize.func = dmm.FUNC_DIGITIZE_VOLTAGE
so I can measure voltage instead of current.
And also use the same formats "{0:.4e}"
When I try to debug, I found that the byte-type variable I receive back from "get_block(s)" is a list of integer instead of floats.