pyRigolWFM
pyRigolWFM copied to clipboard
Logic Analyzer files crash (DS1052D, files added)
These files fail on loading, usually because they try to address an unused index. I will upload two measurements as WFM, TXT and BMP (as asked in #3).
The trigger modes on DS1052D list Edge, Pulse, Slope, Video, Alternate, Pattern, Duration. The bt200i2c example uses Pattern. Code that seems to work:
trgDict["mode"] = ("Edge", "Pulse", "Slope", "Video", "Alternate", "Pattern", "Duration")[trigHdr["mode"]]
The trigger source can be D0 through D15. The bt200i2c example uses D0. Code that seems to work given LA mode is
trgDict["source"] = "D%d" % trigHdr["source"]
The trigger coupling can be H, L, X, Rise, Fall. The bt200i2c example uses Fall. I am unsure about the order. Let me know if/how I can help.
The trigger sweep is as always. The bt200i2c example uses auto.
gy39swio.wfm.txt gy39swio.txt gy39swio.bmp.txt bt200i2c.wfm.txt bt200i2c.txt bt200i2c.bmp.txt
These are the files that you need, for two examples. Note that I added .txt
to the .bmp
and .wfm
files, because GitHub is, ehm, Rigol-agnostic.
Note: points1
is unsigned "I"
and points2
is signed "i"
.