Products > Test Equipment

Capturing a bunch of CAN-frames, where one might be missing - (SDS800X)

<< < (3/6) > >>

nctnico:

--- Quote from: JDubU on March 24, 2024, 07:10:20 pm ---You really want to use a logic analyzer for debugging messaging protocols like CAN.  I have a Saleae Logic (https://www.saleae.com/) that is really good for this.
An oscilloscope with serial protocol decoding is more useful for debugging communication failures caused by analog signal distortion within relatively short timeframes.

--- End quote ---
I have the feeling the OP is hunting down a problem in the analog domain which occurs every now and then. From mentioning using a PC to see a message goes wrong, my guess is that the OP is using a CAN analyser already but that only tells something went wrong and when, but not what exactly is wrong with the signals on the bus. So using an oscilloscope is the right tool to show signal problems.

eTobey:

--- Quote from: Martin72 on March 24, 2024, 06:28:45 pm ---In my case (normal acquisition) all 2000 frames are contained in the csv file.

--- End quote ---

I want to know more.
I see you have 23 frames in ~0.2s. That would make 1150 frames for the whole buffer at 1s/div. You didnt had 2s/div, had you?

tautech:

--- Quote from: eTobey on March 24, 2024, 04:25:34 pm ---
--- Quote from: tautech on March 24, 2024, 03:16:51 pm ---Pretty darn simple IMO using a Single shot period trigger (to detect missing frame) and a slow timebase.

--- End quote ---

I spend hours with this. Problem is, its thousands, and i cant filter that list. With a filter it would be possible to run through the list without beeing distraced by all that unrelevant frames.

--- End quote ---
I would do this in normal scope mode to detect the missing frame.
Then with it captured engage Decode with previously correct settings and scroll pre and post trigger using H Pos.

If as Martin says there is a 2k frame capability, you should have 1k frames each side of your trigger point capture.

eTobey:

--- Quote from: tautech on March 24, 2024, 08:31:31 pm ---I would do this in normal scope mode to detect the missing frame.

If as Martin says there is a 2k frame capability, you should have 1k frames each side of your trigger point capture.

--- End quote ---

Please explain to me, how i should trigger "on a missing frame"! It has no edges, it has no id nor data.   :-/O

eTobey:
If i havent had some more problem, then i think i fixed it. I believe, the frame got lost in Windows. I put a delay in it, and now it is working. Had a few BSOD“s after that though. |O

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod