Hi,
I would like to identify PCAN adapters unambiguously.
Is there any way to get the serial number of PCAN adapter using PCANBasic?
I know devicenumber but it is not enough unique for me.
And what if I use canapi2.dll instead of PCANBasic?
Thanks,
David Fulop
Adaper identifying
Re: Adaper identifying
Hi,
with the PCANBasic API you can set and check the devicenumber (1byte) of the PCAN-USB. With the canapi2.dll its also possible to set a serialnumber (32bit) and an "user string" with up to 250bytes. By default there is no serialnumber set in the PCAN-USB modules ( default: 0xFFFFFFFF). Setting those data will effect the life time of the flash memory of the device, so you shouldn't use it as an application memory
regards
Michael
with the PCANBasic API you can set and check the devicenumber (1byte) of the PCAN-USB. With the canapi2.dll its also possible to set a serialnumber (32bit) and an "user string" with up to 250bytes. By default there is no serialnumber set in the PCAN-USB modules ( default: 0xFFFFFFFF). Setting those data will effect the life time of the flash memory of the device, so you shouldn't use it as an application memory

regards
Michael