Function similar to CAPL-scripts?

This forum covers issues concerning multiple software products.
Post Reply
johkar1207
Posts: 2
Joined: Wed 13. Mar 2013, 08:15

Function similar to CAPL-scripts?

Post by johkar1207 » Wed 13. Mar 2013, 08:45

Hello all.

I'm wondering if PCan has a way of simulating CAN communication similar to CANalyzers CAPL-scripts?
As it is now, the company I work for have been using CANalyzer for an eternity. But PCan has started to take a bigger role lately.
However, since everything is written using CAPL we are getting a bit hindered to fully adopting PCan as our main software.

So I've been tasked to examine in what ways we can rewrite the most crucial scripts using Pcan instead.
The scripts are used to simulate communication and also listens for keypresses to inject error codes or ask for information.

And yes I'm very green when it comes to both PCan and CANalyzer, so bear with me and my odd questions. :)

Can someone point me in the right direction?

Thanks in advance.

Johan

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Function similar to CAPL-scripts?

Post by PEAK-Support » Wed 13. Mar 2013, 11:32

Hi, we have no CAPL to PCAN-Explorer 4/5 Script (VBS) Converter - sorry
The free available BUSMASTER Software Tool, which also support our CAN Hardware, have a CAPL Import and Convert inside the Software. Maybe this is a option to use the PEAK CAN Hardware with Vector CAPL language scripts.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

johkar1207
Posts: 2
Joined: Wed 13. Mar 2013, 08:15

Re: Function similar to CAPL-scripts?

Post by johkar1207 » Wed 13. Mar 2013, 12:33

Thats too bad.
Could it be done via API or such? Not just convert from CAPL but perhaps a complete rewrite of the code.

Anyways, I'll look into Busmaster. It sounds like a good option.

Thanks for the quick response!

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Function similar to CAPL-scripts?

Post by PEAK-Support » Wed 13. Mar 2013, 13:00

You could rewrite it to Visual Basic Script, which is part of the PCAN-Explorer Software. We have add the complete PCAN-Explorer 5 Object Model in this environment. Here is an link to a sample how to use the PE5 scripting with RAW CAN Data, and here a link how to use Signals inside a script.

A other solution is to use our PCAN-Basic API, which is part of every PEAK-System PC CAN Interface. Then you could rewrite your code in C/C++/C#/Pascal/VB.NET/Phyton etc. Here the link for more Information.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply