pyRigolWFM icon indicating copy to clipboard operation
pyRigolWFM copied to clipboard

Logic Analyzer files crash (DS1052D, files added)

Open vanrein opened this issue 2 years ago • 2 comments

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.

vanrein avatar Oct 25 '21 16:10 vanrein

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.

vanrein avatar Oct 25 '21 16:10 vanrein

Note: points1 is unsigned "I" and points2 is signed "i".

vanrein avatar Oct 25 '21 16:10 vanrein