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.PCAN_ERROR_ILLPARAMTYPE.
This is something that I thought had worked previously.
I'm out of ideas.
Problem setting bit rate adapting
Re: Problem setting bit rate adapting
Hello,
The error you are receiving means, that the Parameter is not recognized, so probably your application is using an older version of PCAN-Basic.
The parameter PCAN_BITRATE_ADAPTING is available beginning with the version v4.0.0, which was released on May 21st, 2015.
Please check that your application is using at least this version of PCAN-Basic. The current version isv4.3.0
The error you are receiving means, that the Parameter is not recognized, so probably your application is using an older version of PCAN-Basic.
The parameter PCAN_BITRATE_ADAPTING is available beginning with the version v4.0.0, which was released on May 21st, 2015.
Please check that your application is using at least this version of PCAN-Basic. The current version isv4.3.0
Best regards,
Keneth
Keneth
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.
I don't see these errors with version 4.0.0.
My Bit rate adapting problem seems to be solved.
Thanks.
Re: Problem setting bit rate adapting
Hello,
the problem you posted here is now solved. The question about the illegal client doesn't fit here. Please create a new topic for it and give more details on that. Thanks.
***Solved***
the problem you posted here is now solved. The question about the illegal client doesn't fit here. Please create a new topic for it and give more details on that. Thanks.
***Solved***
Best regards,
Keneth
Keneth