When using CAN_Initialize, initialization may fail.
Posted: Fri 25. Aug 2023, 12:01
Hello
I am making a program with PCAN-Basic API. Sometimes initialization fails. If the initialization fails, connect and disconnect the CAN channel with the problem using the PCAN-View program, and the program I am making will initialize normally. (The PCAN-Basic example program is also not initialized in the same way, but if you use PCAN-View, the initialization is successful)
We are asking if there is an API that performs functions similar to PCAN-View's Connect/Disconnect in PCAN-Basic API. If there is no API with a similar function, I would appreciate it if you could tell me if there is a way to initialize without using PCAN-View.
Below is the initialization process.
[procedure]
1. Set "Bit rate Adaptation" in the Configuration Parameters box, check Active, and click the Settings button.
2. After setting the channel to connect, click the Initialize button.
[Product]
* OS: Window 10
* Product: PCAN-Ethernet Gateway FD DR
* Using the PCAN-Basic API
I am making a program with PCAN-Basic API. Sometimes initialization fails. If the initialization fails, connect and disconnect the CAN channel with the problem using the PCAN-View program, and the program I am making will initialize normally. (The PCAN-Basic example program is also not initialized in the same way, but if you use PCAN-View, the initialization is successful)
We are asking if there is an API that performs functions similar to PCAN-View's Connect/Disconnect in PCAN-Basic API. If there is no API with a similar function, I would appreciate it if you could tell me if there is a way to initialize without using PCAN-View.
Below is the initialization process.
[procedure]
1. Set "Bit rate Adaptation" in the Configuration Parameters box, check Active, and click the Settings button.
2. After setting the channel to connect, click the Initialize button.
[Product]
* OS: Window 10
* Product: PCAN-Ethernet Gateway FD DR
* Using the PCAN-Basic API