Test and Measurement Forum

Long time CAN decoding and triggering

Which product is right for your exact requirements

Long time CAN decoding and triggering

Postby bennog » Mon Nov 26, 2012 12:18 pm

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.
bennog
Guru
Guru
 
Posts: 79
Joined: Mon Nov 26, 2012 9:16 am

Re: Long time CAN decoding and triggering

Postby Martyn » Tue Nov 27, 2012 7:56 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2280
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Long time CAN decoding and triggering

Postby bennog » Tue Nov 27, 2012 9:54 am

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.
bennog
Guru
Guru
 
Posts: 79
Joined: Mon Nov 26, 2012 9:16 am

Re: Long time CAN decoding and triggering

Postby Martyn » Tue Nov 27, 2012 10:19 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2280
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Pre-Sales Advice

Who is online

Users browsing this forum: No registered users and 0 guests