Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have discovered some issues using DAQ and I hope you can help me answer them #210

Open
starryfei opened this issue Feb 26, 2025 · 0 comments

Comments

@starryfei
Copy link

starryfei commented Feb 26, 2025

pyxcp=0.22.27, used run_daq.py demo

DaqList(
            name="part_1",
            event_num=0,
            stim=False,
            enable_timestamps=False,
             measurements=[
            ("Core0", 0x345EEEB0, 0, "F32"),
            ("Core1", 0x345EEEB4, 0, "F32"),
            ("Core2", 0x345EEEB8, 0, "F32"),
			("Core3", 0x345EEEBB, 0, "F32"),
        ],
            priority=0,
            prescaler=1,
        ),

slave Properties some info

{'addressGranularity': EnumIntegerString.new(0, 'BYTE'),
 'byteOrder': EnumIntegerString.new(0, 'INTEL'),
 'bytesPerElement': 1,
 'interleavedMode': False,
 'masterBlockMode': False,
 'maxBs': 0,
 'maxCto': 128,
 'maxDto': 1033,
 'maxWriteDaqMultipleElements': 15,}

Discovered some issues

  1. in daq_parser.setup() -> make_continuous_blocks combine Core0 and Core1, and then send writedaq(0xFF,8,0,0x345EEEB0) response FE 22, ERR_OUT_OF_RANGE, debug found max_odt_entry_size=8, if update 'max_odt_entry_size - 1'=7, skip make_continuous_blocks can right response,whether or not the XCP data frame contains a sequence number issue?
  2. used DaqToCsv, if measurements length >=4, cannot write csv, and on_daq_list method cannot print any data, in whireshark can log response
  3. if measurements length > 16, allocOdt response fe 30, I can use a measurements with a length of 16 to avoid this issue
  4. if DAQ_LISTS length >2, DaqToCsv only record first DAQ_LIST data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant