04-04-2007 05:24 PM
07-02-2007 10:13 PM
hi,
I have the PCI 6541 and do u think it can be program as a I2C master output.
As i have a system need I2C input.
If yes, anyone have code can share?
07-03-2007 06:07 PM
07-03-2007 08:17 PM
07-06-2007 09:54 AM
07-31-2007 07:29 AM - edited 07-31-2007 07:29 AM
I've written some of my own VIs to do I2C interfacing manually without any additional hardware besides a digital I/O board. The code was a bit cumbersome at first but it seems to work alright. The clock speed cannot be too fast I noticed though because Labview won't go through its iterations fast enough to keep up with the edges that I'm outputting. If anyone is interested I can email it to them and they can take a look, use it, or try to improve it. The way it's set up now is that there are three VIs. One is main.vi, which you can control the other two from and you never have to look at. The other is set up to transmit 8 bits via I2C and the other is set up to receive 16-bits back via I2C. I was using them to start a serial ADC and read back the output.
Email: mceleste <NO SPAM> @ <NO SPAM> kvh. <NO SPAM> com
Any ideas on how to do it better without buying hardware are much appreciated.
Message Edited by elecengineer on 07-31-2007 07:30 AM