Search found 5 matches

by Clemlsn
Fri 10. Jun 2022, 16:02
Forum: PCAN-MIO
Topic: MIO Pull-up / Pull Down
Replies: 2
Views: 4605

Re: MIO Pull-up / Pull Down

Hello,

indeed that was it. Thanks for the support !

Clément
by Clemlsn
Fri 10. Jun 2022, 11:25
Forum: PCAN-MIO
Topic: MIO Pull-up / Pull Down
Replies: 2
Views: 4605

MIO Pull-up / Pull Down

Hello,

I just received a Pcan MIO industrial version.
I want to use the Din of the MIO to observe the state of some outputs from my board.
I created the message in PPCAN:
https://i.postimg.cc/fbYSQCpL/2022-06-10-11-12-49-Bateau-Du-Lac-ppproj-PPCAN-Editor.png

Then I linked the message to the ...
by Clemlsn
Fri 18. Mar 2022, 16:13
Forum: PCAN-Basic
Topic: Cannot import module can.interfaces.pcan for CAN interface
Replies: 5
Views: 8509

Re: Cannot import module can.interfaces.pcan for CAN interface

Ok I figured it out, it's due to pyinstaller.
PyInstaller specifically installs the dependencies at the top of the main file you want to execute. Dependencies in other python files that you import into the main file aren't detected by PyInstaller.
So I added "import can.interfaces.pcan" in my file ...
by Clemlsn
Fri 18. Mar 2022, 10:44
Forum: PCAN-Basic
Topic: Cannot import module can.interfaces.pcan for CAN interface
Replies: 5
Views: 8509

Re: Cannot import module can.interfaces.pcan for CAN interface

Hi,

I already have the Pcan usb driver installed, I tried to copy the latest PCANBasic.dll files according to the readme file:
Windows 64-bit systems:
32-bit DLL > Windows\SysWOW64
64-bit DLL > Windows\System32

But then I got an error when I build the program:
OSError: [WinError 193] %1 is not a ...
by Clemlsn
Thu 17. Mar 2022, 14:58
Forum: PCAN-Basic
Topic: Cannot import module can.interfaces.pcan for CAN interface
Replies: 5
Views: 8509

Cannot import module can.interfaces.pcan for CAN interface

Hello,

I developped a python script with the PCAN-Basic API, on my IDE when I launch the program on run or debug, I have no issue. Everything is working great.
I need to create a .exe to share the program. I used pyinstaller to create an .exe of the .py files, this part seems to process fine ...