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.
PCAN API 2 for setting digital IO on IPEH-004025 chip
Re: PCAN API 2 for setting digital IO on IPEH-004025 chip
Hello,
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
Keneth