Author Topic: connection to CANUSBDRV.DLL  (Read 2373 times)

0 Members and 1 Guest are viewing this topic.

Offline CAN_QB64

  • Newbie
  • Posts: 1
    • View Profile
connection to CANUSBDRV.DLL
« on: April 09, 2020, 06:30:10 am »
I am still a novice in Qb64 and have a problem translating a canusbdrv.dll call from VB6 into Qb64.
The USB CAN adapter runs perfectly with an APP.
The interface is operated with an FTDI chip,
but the virtual COM port is out of the question due to the baud rate limitation in QB64.
Unfortunately I have not found a detailed description of the dll.

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: connection to CANUSBDRV.DLL
« Reply #1 on: April 09, 2020, 10:44:03 am »
I found this and it's got quite a bit of info on hoe to use the API.
http://www.datalink.se/pdf/CANopenInterfaceAPI.pdf

There seems to be plenty of demos and such at the main website as well that might be worth a look see.

Good luck with your project.

Unseen

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: connection to CANUSBDRV.DLL
« Reply #2 on: April 09, 2020, 10:54:03 am »
Quote
...due to the baud rate limitation in QB64

What is the baud rate limitation in QB64?

EDIT
This QB64 documentation page states that the maximum baud rate supported is 115200.
https://www.qb64.org/wiki/OPEN_COM

What is the required baud rate for the CANBus application?
« Last Edit: April 09, 2020, 11:10:58 am by EricE »