PCAN API 2 for setting digital IO on IPEH-004025 chip

CAN Development Packages for Windows®
Post Reply
barryb
Posts: 1
Joined: Tue 7. Feb 2012, 22:20

PCAN API 2 for setting digital IO on IPEH-004025 chip

Post by barryb » Wed 1. Jun 2022, 01:57

Currently we use PCAN Basic to set a digital IO pin as follows:
PCANBasic.SetValue(channel, TPCANParameter.PCAN_TO_DIGITAL_SET, ...);

We want to change the project to use PCAN 2, but don't know if this can be done.

According to the eval board manual, it mentions that this can be done using PCAN-Basic, but doesn't mention that this can be done using PCAN2. We purchased the PCAN Developer in 2017.
We use a peak systems IPEH-004025 chip.

Here is the manual for the eval board that uses that chip https://www.peak-system.com/produktcd/P ... an_eng.pdf

We use Pin 1 and 44, digital IO 0 and 1.

Thanks.

K.Wagner
Software Development
Software Development
Posts: 1080
Joined: Wed 22. Sep 2010, 13:36

Re: PCAN API 2 for setting digital IO on IPEH-004025 chip

Post by K.Wagner » Wed 1. Jun 2022, 08:01

Hello,
barryb wrote:
Wed 1. Jun 2022, 01:57
According to the eval board manual, it mentions that this can be done using PCAN-Basic, but doesn't mention that this can be done using PCAN2. We purchased the PCAN Developer in 2017.
We use a peak systems IPEH-004025 chip.
Yes, this is also possible using the PCAN Developer (CanApi4). The IO parameters were included in CanApi4 in late 2019. So, if you have purchased your product in 2017, then you will need an upgrade. Contact our support by email on this matter: support[at]peak-system.com
Best regards,
Keneth

Post Reply