Search found 7 matches

by kkregger
Mon 30. Dec 2019, 20:37
Forum: PCAN-Basic
Topic: Enabling Bit Rate Adapting with CAN FD
Replies: 1
Views: 2223

Enabling Bit Rate Adapting with CAN FD

My application cannot enable Bit Rate Adapting with a PCAN USB FD device.

uint enable = PCANBasic.PCAN_PARAMETER_ON;
status = PCANBasic.SetValue(handle, TPCANParameter.PCAN_BITRATE_ADAPTING,
ref enable, Convert.ToUInt32(Marshal.SizeOf(enable)));
status doesn't equal TPCANStatus.PCAN_ERROR_OK ...
by kkregger
Mon 30. Dec 2019, 18:29
Forum: PCAN-View
Topic: Setting PCAN USB FD device bit rate
Replies: 1
Views: 2873

Setting PCAN USB FD device bit rate

My application cannot change PCAN USB FD device bit rate when PCAN-View is running.
by kkregger
Tue 5. Nov 2019, 22:37
Forum: PCAN-Basic
Topic: Identifying PCAN USB FD devices
Replies: 3
Views: 5086

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?
by kkregger
Mon 4. Nov 2019, 23:58
Forum: PCAN-Basic
Topic: Identifying PCAN USB FD devices
Replies: 3
Views: 5086

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?
by kkregger
Tue 13. Nov 2018, 00:31
Forum: PCAN-Basic
Topic: Problem setting bit rate adapting
Replies: 3
Views: 4902

Re: Problem setting bit rate adapting

I sometimes see ILLCLIENT errors when connecting to PCAN USB devices with version 4.3.0.
I don't see these errors with version 4.0.0.
My Bit rate adapting problem seems to be solved.
Thanks.
by kkregger
Thu 8. Nov 2018, 19:26
Forum: PCAN-Basic
Topic: Problem setting bit rate adapting
Replies: 3
Views: 4902

Problem setting bit rate adapting

I'm using a PCAN USB device.
I'm trying to do this in C#:
TPCANStatus status = 0;
uint enable = PCANBasic.PCAN_PARAMETER_ON;
status = PCANBasic.SetValue(handle, TPCANParameter.PCAN_BITRATE_ADAPTING,
ref enable, Convert.ToUInt32(Marshal.SizeOf(enable)));
The returned status always equals TPCANStatus ...
by kkregger
Tue 25. Jul 2017, 01:08
Forum: PCAN-Basic
Topic: Physically disconnected PCAN USB condition = Occupied
Replies: 1
Views: 3986

Physically disconnected PCAN USB condition = Occupied

I've found that if a PCAN USB device is physically disconnected after my VB application initializes it, that subsequent calls to retrieve the device condition return a value of PCAN_CHANNEL_OCCUPIED. Calls to read the bit rate return a value of 0x11c (250k).
Because of this I can't determine if the ...