QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: CAN_QB64 on April 09, 2020, 06:30:10 am

Title: connection to CANUSBDRV.DLL
Post by: CAN_QB64 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.
Title: Re: connection to CANUSBDRV.DLL
Post by: Unseen Machine 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 (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
Title: Re: connection to CANUSBDRV.DLL
Post by: EricE 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 (https://www.qb64.org/wiki/OPEN_COM)

What is the required baud rate for the CANBus application?