Test and Measurement Forum

trigger based on CAN bus decode

Forum for discussing PicoScope version 6 (non-automotive version)

trigger based on CAN bus decode

Postby maxiso » Mon Jan 14, 2013 9:14 pm

Hello,
I'm wondering if there is any way (I couldn't find any) to make the picoscope trigger with a certain data value decoded from a CAN bus (or any other serial protocol). For example, trigger with CAN-ID = 0x1, or with CAN-data = 0x12345678.
I'm not sure it would be possible to do by software, but it would be a very useful feature to add to PicoScope... we use this triggering capability in Tek oscilloscopes.
Thanks,
Max
maxiso
Newbie
 
Posts: 0
Joined: Fri Nov 30, 2012 6:42 pm

Re: trigger based on CAN bus decode

Postby Martyn » Tue Jan 15, 2013 7:17 am

The decoding of serial data is carried out in the software on the PC post collection, and not on the scope which would be required to trigger on specific data values.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2350
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: trigger based on CAN bus decode

Postby alan » Tue Jan 15, 2013 1:34 pm

Martyn is correct in that we do not have a hardware based CAN bus trigger but for many applications the huge memory of PicoScopes allows a different approach which is to collect all the data, decode and effectively trigger in software.

This can be done using the "start from" option in the "in window" display.
alan
Site Admin
Site Admin
 
Posts: 171
Joined: Thu May 25, 2006 8:02 am

Re: trigger based on CAN bus decode

Postby bennog » Tue Jan 15, 2013 6:22 pm

Max,

This is on my ToDo list, decoding CAN in real-time with the SDK and apply various triggers, and then save as .psdata file.
Providing the scope can stream continuous data with a sample rate at least 5-10 times the baud rate.
At the moment I am so busy I don't have time for this kind of fun thins.

This will probably somewhere in the summer.

Benno
bennog
Guru
Guru
 
Posts: 79
Joined: Mon Nov 26, 2012 9:16 am


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests