Identifying PCAN USB FD devices
Identifying PCAN USB FD devices
I have a mix of PCAN USB and PCAN USB FD devices connected to my system. Is there a way for my software (C#, PCAN BASIC) to determine whether a given device is an FD device or not?
Re: Identifying PCAN USB FD devices
Hello,
yes. You can use the parameter PCAN_CHANNEL_FEATURES with the function CAN_GetValue, to check weather a PCAN-Channel is FD capable or not. This is described in the PDF documentation "PCAN - Parameters" at page 20, and also in the CHM file (a.k.a. online help) "PCANBasic_enu.chm" in chapter "Refrence\Types\TPCANParameter\PCAN_CHANNEL_FEATURES".
This parameter is also used in the companion samples of PCAN-Basic, so you can check the code too.
yes. You can use the parameter PCAN_CHANNEL_FEATURES with the function CAN_GetValue, to check weather a PCAN-Channel is FD capable or not. This is described in the PDF documentation "PCAN - Parameters" at page 20, and also in the CHM file (a.k.a. online help) "PCANBasic_enu.chm" in chapter "Refrence\Types\TPCANParameter\PCAN_CHANNEL_FEATURES".
This parameter is also used in the companion samples of PCAN-Basic, so you can check the code too.
- Attachments
-
- PCAN_CHANNEL_FEATURES
- PCANBasicSample.PNG (37.49 KiB) Viewed 5081 times
Best regards,
Keneth
Keneth
Re: Identifying PCAN USB FD devices
Hi,
will I have to initialize the device to get the value?
If I use Initialize rather than InitializeFD will I still be able to get the necessary information?
will I have to initialize the device to get the value?
If I use Initialize rather than InitializeFD will I still be able to get the necessary information?
Re: Identifying PCAN USB FD devices
Hello,
please check the help file. There is all information you need to know. I already gave you the page number.
please check the help file. There is all information you need to know. I already gave you the page number.
Best regards,
Keneth
Keneth