Long time CAN decoding and triggering

Which product is right for your exact requirements
Post Reply
bennog
Advanced User
Advanced User
Posts: 206
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Long time CAN decoding and triggering

Post by bennog »

Hello,

I am looking into buying a 4224 for sampling sporadic CAN events.
I Would like to trigger on 1 of the next posibilities.
1. CAN error messages.
2. Missing CAN ACK messages.
3. Specific CAN messages (Adress and bits in data)
4. CAN stuffing errors.

CAN bus is running at 500kbit/sec or 1Mbit/sec

As far as I can see this is not possible with the default software.
A option is use the SDK in stream mode and decode the CAN messages in realtime. (multiple threadeds)
But is it possible to transfer the samples back in picscope application to have a good visual representation of wat happend on the bus.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Long time CAN decoding and triggering

Post by Martyn »

Unfortunately it is not possible to import files generated by another application into PicoScope6, the only data files that can be read are the psdata files produced by the software.

Apart from adding display functionality to your own application I am not sure that there is anything we can currently offer. The ideal solution would be hardware serial decoding to allow triggering on data but that is not available with our products at the present time.
Martyn
Technical Support Manager

bennog
Advanced User
Advanced User
Posts: 206
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: Long time CAN decoding and triggering

Post by bennog »

Is it possible to use Picoscope 6 and the API at the same time on 1 device ?

Is it possible to make a plug-in for Picoscope 6 witch receives all incoming data and can generate a trigger.

Is Picoscope 6 using ps4000.dll to retrieve data from the USB device, if so I can write my own ps4000.dll and transparently call the original ps4000.dll and generate the trigger form my DLL witch is analysing the real-time data stream in a separate thread.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Long time CAN decoding and triggering

Post by Martyn »

Is it possible to use Picoscope 6 and the API at the same time on 1 device ?
No, only one connection can be made at a time.
Is it possible to make a plug-in for Picoscope 6 witch receives all incoming data and can generate a trigger.
We don't have any mechanisms to handle plugins at the present time
Is Picoscope 6 using ps4000.dll to retrieve data from the USB device, if so I can write my own ps4000.dll and transparently call the original ps4000.dll and generate the trigger form my DLL witch is analysing the real-time data stream in a separate thread.
Yes it uses the dll so in theory you could do this.
Martyn
Technical Support Manager

Post Reply