-
RE: DMM6500 streaming digitized data to computer via python + TSP code
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.
-
DMM6500 streaming digitized data to computer via python + TSP code
I'm following Keithley/Tektronic the application note "Data Logging of Power Profiles from Wireless IoT and Other Low-Power Devices". Link here: https://download.tek.com/document/1KW-61357-0_DMM6500_Datalogging_Application_Note_080318.pdf
Only change I made is to measure digitized voltage instead of current.
The script run without a hitch but the data file doesn't match the actual measurement. The data file contains just integer between 0 & 252, while the buffer reading reads the correct current/voltage values.
What could be causing this problem?