LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control I2C bus with a DAQ

I have timing problems with NI-DAQ harware and sometimes i can control the bus. If the PC that is running the Labview 6.0 is doing som other work the timing does go out of sync on the digital I/O NI-DAQ harware. Has someone made a programm to control I2C bus with standard digital I/O card or DAQ from made by NI.
0 Kudos
Message 1 of 2
(3,003 Views)
No I have not done I2C with DAQ.

In a Windows environment, you will not be able to enusre that you will be able to react deterministically to bus events.

I wrote a wrapper to use a PCI interface for I2C a couple of years ago. It worked good.

Since then I have read that others have gotten good results using a serial to I2C adapter.

I would suggest that approach. Otherwise, the approach you are taking may become an "exercise in futility".

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 2
(3,003 Views)