Pregunta

I need to write an FTDI application in C# to interact with a specialised piece of hardware located at another site.

When using the FTD2XX_NET.dllwrapper for the C# application, I receive:

Failed to load FTD2XX.DLL. Are the FTDI drivers installed?

when calling FTDI myFtdiDevice = new FTDI();

As I've already used the .exe for installing the FTDI drivers, I'm assuming that this is a problem of not finding any devices with the driver installed.

My question pertains to whether or not I can mock such a device for the purposes of easier programming and some but limited testing.

Thanks.

¿Fue útil?

Solución

You need to plug in an FTDI device at least once to have the driver files to be copied over to the system32 folder and the necessary entries for the device in the registry.

Regards, Savyasaachi Keshava Murthy Applications Engineer FTDi Chip, USA

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top