Hello !
I've started to work on project where I need CAN communication to some equipment. I have your IPEH-002022 USB to CAN converter and PCAN-View application and that combination works as expected. My application is in C#/.NET and I have Peak.Can.Basic NuGet package installed. I did some basic work with API functions like Api.Initialize a channel and Api.Read(channel, out canmsg). It all worked.
I got a problem when I started with Worker object. I'm getting a couple of exceptions when trying to start the worker. I tried various ways, but I always get an exection. I'm attaching a screenshot of the last (the simplest) version, based on some code found on Worker.Start Method doc.
Please help.
Best regrads.
Matjaz Jost
worker.Start() doesn't work
worker.Start() doesn't work
- Attachments
-
- screen_exception.png (146.72 KiB) Viewed 2734 times
Re: worker.Start() doesn't work
Helllo,
please let us know which versions are you using of:
please let us know which versions are you using of:
- PCAN-Basic.NET --> see the version of the nuget package installed.
- PCANBasic.dll --> Start the tool "PEAK-Settings" and check the section "APIs".
- PEAK-Drivers --> Start the tool "PEAK-Settings" and check the section "Drivers".
Best regards,
Keneth
Keneth
Re: worker.Start() doesn't work
Hello !
Thank you for fast response.
The desired data:
NuGet package: Peak.PCANBasic.NET, version 4.8.2.897, published 22.01.2024
APIs and Drivers are on attached screenshots.
Best regards.
MatjazJost
Thank you for fast response.
The desired data:
NuGet package: Peak.PCANBasic.NET, version 4.8.2.897, published 22.01.2024
APIs and Drivers are on attached screenshots.
Best regards.
MatjazJost
- Attachments
-
- drivers.png (204.87 KiB) Viewed 2714 times
-
- apis.png (194.93 KiB) Viewed 2714 times
Re: worker.Start() doesn't work
Hello,
it seems to be all up to date. Nevertheless, such an error can only occur when one used file is not up to date. Maybe you have some other files in the target folder of your project?
If the problem persists, please send an email to support[at]peak-system.com, making reference to this post. Please attach a picture of your device where we can see the serial number.
it seems to be all up to date. Nevertheless, such an error can only occur when one used file is not up to date. Maybe you have some other files in the target folder of your project?
If the problem persists, please send an email to support[at]peak-system.com, making reference to this post. Please attach a picture of your device where we can see the serial number.
Best regards,
Keneth
Keneth