PCAN-Basic API Simulink Box

High-speed USB 2.0 to CAN/LIN Interface
Post Reply
Curly
Posts: 3
Joined: Tue 31. Jan 2012, 14:13

PCAN-Basic API Simulink Box

Post by Curly » Tue 31. Jan 2012, 14:31

Hello everybody,

does somebody know where I can get this Simulink Block or how I can include it to Simulink??

! Link does not work anymore !



I'm currently using the PCANlib Simulink Blocks but I have the problem that I have a delay of about 3 sec. I think it's because of the Sample-Time. But I can't change it in Block-Parameters of PCANlib.

Thanks in advance,
Curly

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1130
Joined: Fri 10. Sep 2010, 19:34

Re: PCAN-Basic API Simulink Box

Post by U.Wilhelm » Wed 1. Feb 2012, 08:20

Not for PCAN-Basic - but for PCAN-Light API (older Version - no longer supported)
please see Re: Using PCAN in simulink real-time workshop
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Curly
Posts: 3
Joined: Tue 31. Jan 2012, 14:13

Re: PCAN-Basic API Simulink Box

Post by Curly » Wed 1. Feb 2012, 17:52

I'm currenty using this implementation. So are there no Simulink implemenations for the newer PCAN-Basic API?

But is there any possibility to change the sample-time of how often the CAN_Write Block is writing something on the CAN-BUS?

Thanks for your reply,
Curly

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1130
Joined: Fri 10. Sep 2010, 19:34

Re: PCAN-Basic API Simulink Box

Post by U.Wilhelm » Fri 3. Feb 2012, 11:51

Dear,
we do not official support Simulink or MathLab. We try to do more than once, but all communications with MathWorks end with a offer to buy a Full Version for X-thousends of EUR - which make no sence for a hand full of users we need to support. The solution for the PCAN-Light was done by one of our customers which allowed us to distribute his work.
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Curly
Posts: 3
Joined: Tue 31. Jan 2012, 14:13

Re: PCAN-Basic API Simulink Box

Post by Curly » Fri 3. Feb 2012, 12:59

Hmm, I understand.

I don't know if you're allowed but could you write me an E-Mail or something with the contact details from your customer who made it? It would be really great to contact him.

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1130
Joined: Fri 10. Sep 2010, 19:34

Re: PCAN-Basic API Simulink Box

Post by U.Wilhelm » Fri 3. Feb 2012, 15:27

Dear, the Basic mex Interface for MatLab was build by me. But a customer have add the SimuLink Block and send it back to me - i do not know who it was - i have to search in 5 years old E-mails :oops:

Maybe you could post your question in this Forum
If i had a MatLab Lisence i think it will be very easy possinle to build the mex files also for the pCAN-Basic (it´s only work - not much thinking) ...but as i wrote....
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Post Reply