How to check if PCAN-interface is FD-capable?
Posted: Wed 5. Aug 2026, 11:28
Hello, the problem is described in the title. I use .NET / C# with the old PEAK-XCP API examples.
I recall the following code snippet above was already working correctly to identify if I have a normal PCAN-USB or a PCAN-USB FD connected, but it stopped working without any reason.
The call PCANBasic.GetValue does not return any error.
I also checked already with multiple PCANBasic.dll versions (v4.6 and v5.1) without difference.
What would be the correct way to achieve this?
I recall the following code snippet above was already working correctly to identify if I have a normal PCAN-USB or a PCAN-USB FD connected, but it stopped working without any reason.
Code: Select all
TPCANChannelInformation[] channelFeatures = new TPCANChannelInformation[1];
PCANBasic.GetValue(handle, TPCANParameter.PCAN_CHANNEL_FEATURES, channelFeatures);
return (channelFeatures[0].device_features & PCANBasic.FEATURE_FD_CAPABLE) != 0;I also checked already with multiple PCANBasic.dll versions (v4.6 and v5.1) without difference.
What would be the correct way to achieve this?