Return is always the following error -> TPCANStatus.PCAN_ERROR_ILLPARAMTYPE.
Sounds like I am not using the method properly.
However, I followed the sample code examples provided in documentation.
Any clue of what goes wrong here ?
Code: Select all
uint iChannelsCount;
TPCANStatus stsResult;
// preinitialize
stsResult = PCANBasic.GetValue(PCANBasic.PCAN_NONEBUS, TPCANParameter.PCAN_ATTACHED_CHANNELS_COUNT, out iChannelsCount, sizeof(uint));