LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTDI C232HM I2C

Bonjour à tous, 

 

Je souhaite faire de l'I2C avec LabVIEW. J'ai acheté un câble FTDI C232HM mais impossible de bien le faire fonctionner. Il m'est très compliqué de trouver une bibliothèque qui pourrait m'aider. Si vous avez une astuce ou autre je suis preneur. 

 

Merci d'avance. 

0 Kudos
Message 1 of 3
(458 Views)

Some related threads, worth reading, including following links mentioned in them:

 

https://forums.ni.com/t5/LabVIEW/FTDI-drivers-usage-in-Labview/td-p/4040967

https://lavag.org/topic/19453-cr-mpssedll-labview-driver/

 

Generally there are a few reason to try this:

 

- You have seas of time at hand to tinker with this, and to do trial and error, crash and restart over and over again

- You plan to build a system that will be deployed 100 or 1000s of times in the field.

 

Otherwise the USB-8452 will be a lot cheaper and cost you a lot less grey hair.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(390 Views)

I've been able to make some progress but I still can't get it to work properly.

 

In I2C_CLOCK_STANDARD_MODE and I2C_CLOCK_FAST_MODE I first get the FT_DEVICE_NOT_FOUND error, then the next time I get the FT_FAILED_TO_WRITE_DEVICE error. The error occurs at write level.

 

In I2C_CLOCK_FAST_MODE_PLUS and I2C_CLOCK_HIGH_SPEED_MODE I don't get any errors. On the other hand, I only get 0xFF in response.

 

I use the I2C library that can be downloaded from the LAVA site and it's by following the threads that I've come to this point. Maybe there's something I haven't understood.

 

Thanks. 

Download All
0 Kudos
Message 3 of 3
(332 Views)