LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO I2C IP problem

Hey guys,

 

I am using myRIO and the following IP to be able to read from two different slaves:

NI 5644R LabVIEW FPGA Inter-Integrated Circuit Example https://decibel.ni.com/content/docs/DOC-26410

 

Here an example of its documentation for using the master.vi:

I2Cmaster.PNG

 

 

Now I have 2 questions:

 

1, As the myrio doesn't have the DIO-Config: "output enable done" can I use "set output enable" and set it to false?

I2C master.png

 

2, I dont understand, how to use this VI and communicate with multiple slaves. The documentation says it is possible but not how to do it.

"The 10-bit addressing I2C standard adds an additional byte to the I2C transaction allowing a wider array of slave devices to be accessed." I am not sure what this means, maybe someone can help me.

 

 

Kind regards

 

Slev1n

0 Kudos
Message 1 of 3
(3,531 Views)

Hi

 

Have you already found a solution?

 

Kind regards,

Alex

0 Kudos
Message 2 of 3
(3,405 Views)

Hey,

 

I found some driver from plf consulting (ni.decibel). After some minor changes it works for me 🙂

0 Kudos
Message 3 of 3
(3,385 Views)