Page 2 of 3

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 11:23 am
by Steve-Matrix
Hi Oscar,

I've looked into this and created another DLL. Can you please try it and see if it allows detection of your FTDI device?

The DLL is in the attached ZIP file. It needs to replace the existing SerialDLL.dll file that is in Flowcode's Data\API.DLL folder.

Please let me know if this works for you.

Thanks,
Steve.

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 1:41 pm
by Oscar_T
Hi Steve

i did a test very quickly and it seems to work! Fantastic really appreciated!

Kind Regards

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 2:21 pm
by Steve-Matrix
That's great news! Thanks for the quick response.

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 4:43 pm
by stefan.erni
Hi Oscar, Hi Ben, Hi Steve

I like to use this auto comport too. But when I use the program from Ben, it don't shows me a port, even I have some.

What do I wrong?

regards


Stefan
Comport_2021-06-28_17-34-37.png
Comport_2021-06-28_17-34-37.png (80.22 KiB) Viewed 7346 times

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 4:48 pm
by Oscar_T
Hello Stefan

Which com port are you trying to open? the number 40?

Have you modified the VID/PID?

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 4:50 pm
by stefan.erni
Hi Oscar

Yes

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 4:57 pm
by Oscar_T
Is a FTDI Device?

I have tried several units (always with the same vid / pid) and they are recognized and numbered correctly.

I also tried to run the program on different computers and for now all fine.

Have you installed the official ftdi drivers? Have you installed the new dll?

Excuse me if these seem trivial questions to you but sometimes the problem is just a simple thing

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 5:52 pm
by stefan.erni
Yes driver is new and the VID and PID look like the same value.
Dll is copied.
Vid_Pid_2021-06-28_18-44-46.png
Vid_Pid_2021-06-28_18-44-46.png (39.11 KiB) Viewed 7341 times

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 6:14 pm
by Oscar_T
And if you go to the windows registry you find the same thing?

Re: Automatic Com port Select

Posted: Mon Jun 28, 2021 7:39 pm
by stefan.erni
Hi Oscar

Thanks a lot for your help. It's working now. The problem was the dll.
I copied it to an "old " folder with an old FC9.
So this autodedect comport is really a good thing.

regards

Stefan