Unable to find the library PCANBasic.dll
-
- Posts: 5
- Joined: Mon 16. Nov 2015, 06:31
Unable to find the library PCANBasic.dll
Hello,
I am developing a VB application with Visual studio 2008.
I have a problem with the library "PCANBasic.dll". I can't add this library to the vb project as reference because vb.net reports an error. The error says that the library is not a valid COM.
After that i tried to find solution on your forum and followed solution mentioned in
https://www.peak-system.com/forum/viewt ... f=41&t=189
but still not working. when i try to run the code of PCANBasic Example it giving error as "Unable to find the library PCANBasic.dll"
reply ASAP.
Regards,
Sagar
I am developing a VB application with Visual studio 2008.
I have a problem with the library "PCANBasic.dll". I can't add this library to the vb project as reference because vb.net reports an error. The error says that the library is not a valid COM.
After that i tried to find solution on your forum and followed solution mentioned in
https://www.peak-system.com/forum/viewt ... f=41&t=189
but still not working. when i try to run the code of PCANBasic Example it giving error as "Unable to find the library PCANBasic.dll"
reply ASAP.
Regards,
Sagar
-
- Posts: 5
- Joined: Mon 16. Nov 2015, 06:31
Re: Unable to find the library PCANBasic.dll
Hello,
I just able to fix the problem with .dll
But now the next problem is
-I run the PCAN Basic Sample code and it started, but what i have to select from options 'Hardware' and 'Hardware Type'?
Basically to can in intialize the CAN hardware with this PCAN Basic Sample code and able to send and receive messages throug it? if Yes, hten whats the procedure?
Regards,
Sagar
I just able to fix the problem with .dll
But now the next problem is
-I run the PCAN Basic Sample code and it started, but what i have to select from options 'Hardware' and 'Hardware Type'?
Basically to can in intialize the CAN hardware with this PCAN Basic Sample code and able to send and receive messages throug it? if Yes, hten whats the procedure?
Regards,
Sagar
Re: Unable to find the library PCANBasic.dll
Hi,
which PEAK hardware did you connected to your PC?
regards
Michael
which PEAK hardware did you connected to your PC?
regards
Michael
-
- Posts: 5
- Joined: Mon 16. Nov 2015, 06:31
Re: Unable to find the library PCANBasic.dll
Hi Michael,
i am using 'PCAN-PCI Express Dual Channel' PCI CAN card.
Regards
Sagar
i am using 'PCAN-PCI Express Dual Channel' PCI CAN card.
Regards
Sagar
Re: Unable to find the library PCANBasic.dll
Hi,
please select PCAN_PCIBUS1 0x41 as handle for channel1, hardwaretype is not necessary for PCI cards, please read info in the PCANBasic help file (PCANBasic_enu.chm) for more deatils.
regards
Michael
BTW: this has nothing to do with PCAN-View, so it will be better to move that thread into the PCANBasic API section.
please select PCAN_PCIBUS1 0x41 as handle for channel1, hardwaretype is not necessary for PCI cards, please read info in the PCANBasic help file (PCANBasic_enu.chm) for more deatils.
regards
Michael
BTW: this has nothing to do with PCAN-View, so it will be better to move that thread into the PCANBasic API section.
-
- Posts: 5
- Joined: Mon 16. Nov 2015, 06:31
Re: Unable to find the library PCANBasic.dll
Hi,
I have attached the snapshot of application where no option in the dropdown list as 'PCAN_PCIBUS1 0x41' as handle for channel1.
I have developed vb application with other CAN hardware but as now with current requirement i want to use that application with this current hardware i mentioned in previous message.
so i have to change the communication level interface of that application , so that it will work with the PCAN PCI-e card as well.
i want to check that how this PCAN Basic sample example works.
I want to send and receive CAN messages with this PCAN Basic sample application so that i can implement the similar changes in my current application code.
Regards,
Sagar
I have attached the snapshot of application where no option in the dropdown list as 'PCAN_PCIBUS1 0x41' as handle for channel1.
I have developed vb application with other CAN hardware but as now with current requirement i want to use that application with this current hardware i mentioned in previous message.
so i have to change the communication level interface of that application , so that it will work with the PCAN PCI-e card as well.
i want to check that how this PCAN Basic sample example works.
I want to send and receive CAN messages with this PCAN Basic sample application so that i can implement the similar changes in my current application code.
Regards,
Sagar
- Attachments
-
- PCAN Basic sample screenshot
- PCAN basic.bmp (1.95 MiB) Viewed 23336 times
Re: Unable to find the library PCANBasic.dll
Hi,
is the PCAN-PCI card correctly installed on your system? Do you have any other software running which uses that card at the moment. Does PCAN-View show the card?
regards
Michael
is the PCAN-PCI card correctly installed on your system? Do you have any other software running which uses that card at the moment. Does PCAN-View show the card?
regards
Michael
-
- Posts: 5
- Joined: Mon 16. Nov 2015, 06:31
Re: Unable to find the library PCANBasic.dll
HI,
Yes, the PCI card installed correctly on PC.
And i checked it through the PCAN view ,it shows both the channels and i also checked it with transmitting and receiving messages.
Regards,
Sagar
Yes, the PCI card installed correctly on PC.
And i checked it through the PCAN view ,it shows both the channels and i also checked it with transmitting and receiving messages.
Regards,
Sagar
Re: Unable to find the library PCANBasic.dll
Hi,
Please download the Sysinfo tool from the following link:
http://www.peak-system.com/fileadmin/me ... ysInfo.zip
unzip it and start the *.exe (no istallation required), then make a system analysis (don´t use the quick-analysis functionality) and save the result into a XML file. Please sent the XML file to us by email (use the support email address).
best regards
Michael
Please download the Sysinfo tool from the following link:
http://www.peak-system.com/fileadmin/me ... ysInfo.zip
unzip it and start the *.exe (no istallation required), then make a system analysis (don´t use the quick-analysis functionality) and save the result into a XML file. Please sent the XML file to us by email (use the support email address).
best regards
Michael
-
- Posts: 2
- Joined: Thu 28. Apr 2016, 15:02
Re: Unable to find the library PCANBasic.dll
Hi
I am using the PCAN-USB Pro hardware, and when running the PCAN-Basic Example I'm getting a similar problem.
1. When I run the application, a compile error in line 990 appears and it does not compile.
2. I commented lines 989 to 991, and now I am able to compile.
3. After compiling, I get an error message “Unable to find the DLL PCANBasic.dll!”
4. Once the application is open, I can not find the PCAN_USBBUS1 hardware.
How did you solved this issue?
I am using the PCAN-USB Pro hardware, and when running the PCAN-Basic Example I'm getting a similar problem.
1. When I run the application, a compile error in line 990 appears and it does not compile.
2. I commented lines 989 to 991, and now I am able to compile.
3. After compiling, I get an error message “Unable to find the DLL PCANBasic.dll!”
4. Once the application is open, I can not find the PCAN_USBBUS1 hardware.
How did you solved this issue?