求助:运行报错“Only VPPI scan mode is supported”,要怎么解决?非常感谢
相关程序:
header = np.frombuffer(f.read(1024), CC_header)
scan_mode = header["ucScanMode"][0]
if scan_mode < 100:
raise NotImplementedError("Only VPPI scan mode is supported")
其中header 值为:
[(b'RSTM\x01 \x01 \x01 ', b' Z9691 XiShua', b'
ngBanNa_Z9691 ', b" \x02+\xacA'\xf1\xcaB? s\x05 P\xafE{\x14n?fff?\x06+ # ", b' ', b' ', b' ', b' VCP31 ', 538976288, 538976288, 538976288, 8224, 8224, 32, 32, 32, 32, 32, 32, 32, 86, 67, 80, 51, 49, 32, 32, 32, 32, 538976288, 8224, 8224, 8224, 8224, 8224, 32, [32, 32, 32], [ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 3, 32, 32, 32, 32, 32, 32, 32, 63, 32, 32, 97, 185, 123, 95, 7, 32, 32, 32, 236, 81, 162, 65, 32, 32, 32, 32, 225, 122, 166, 65, 32, 32, 32, 32, 219, 112, 2, 67, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 32, 32, 32, 32, 32, 32, 32, 32, 32, 175, 67, 32, 32, 32, 32, 1, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 63, 29, 59, 179, 67, 121, 51, 222, 64, 32, 32, 128, 63, 32, 32, 64, 64, 63, 32, 32, 32, 63, 32, 32, 32, 72, 27, 6, 32, 32, 32, 32, 32, 32, 32, 32, 32, 120, 32, 32, 32, 8, 32, 32, 32, 1, 32, 32, 32, 111, 18, 63, 141, 187, 149, 64, 30, 32, 32, 32, 32, 32, 32, 32, 30, 32, 32, 32, 32, 32, 32, 32, 14, 32, 32, 32, 154, 153, 63, 32, 32, 32, 63, 32, 32, 32, 66, 32, 32, 63, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, 32, 32, 32, 12, 32, 32, 32, 14, 32, 32, 32, 14, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 32, 32, 32, 2, 32, 5, 32, 1, 32, 32, 32, 50, 32, 50, 32, 63, 32, 63, 32, 63, 32, 94, 1, 63, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 124, 1, 120, 1, 118, 1, 119, 1, 123, 1, 123, 1, 124, 1, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 32, 32, 32, 1, 32, 32, 32, 32, 32, 97, 68, 32, 32, 32, 32, 1, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 63, 121, 54, 158, 65, 198, 140, 177, 65, 32, 32, 128, 63, 52, 51, 211, 64, 63, 32, 32, 32, 63, 32, 32, 32, 72, 27, 6, 32, 32, 32, 32, 32, 32, 32, 32, 32, 128, 32, 32, 32, 8, 32, 32, 32, 1, 32, 32, 32, 111, 18, 63, 108, 131, 64, 65, 30, 32, 32, 32, 32, 32, 32, 32, 30, 32, 32, 32, 32, 32, 32, 32, 14, 32, 32, 32, 154, 153, 63, 32, 32, 32, 63, 32, 32, 32, 66, 32, 32, 63, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, 32, 32, 32, 12, 32, 32, 32, 14, 32, 32, 32, 14, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 32, 32, 32, 2, 32, 5, 32, 1, 32, 32, 32, 50, 32, 50, 32, 63, 32, 63, 32, 63, 32, 94, 1, 63, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32], [32, 32], 24911904, 24510840, 24838519, 379, 380, 8224, 8224, 8224, 8224, 8224, 8224, 8224, 8224, 8224, 32, b' ', 32, 32, 1, 32, 32, 32, 32, 32, 32, 32, 32, [ 32, 175, 67, 32, 32, 32, 32, 1, 32, 32, 32, 32, 32, 32, 32, 32, 32, 63, 74, 153, 82, 66, 63, 91, 66, 32, 32, 128, 63, 32, 32, 64, 64, 63, 32, 32, 32, 63, 32, 32, 32, 72, 27, 6, 32, 32, 32, 32, 32, 32, 32, 32, 32, 120, 32, 32, 32, 8, 32, 32, 32, 1, 32, 32, 32, 111, 18, 63, 141, 187, 149, 64, 30, 32, 32, 32, 32, 32, 32, 32, 30, 32, 32, 32, 32, 32, 32, 32, 14, 32, 32, 32], 154, 538984345)] |