Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Nano Linx with I2C and DO channels

Hi there, 

 

i have a Labview programm running via LINX on a Nano which reads / wrutes data to the I2C bus. If i try to use the DO channels it works , but all the next quieries on the I2C bus fial because of a time out. The I2C does not work on the Nano. What is the background?

 

BR

 

Andreas

0 Kudos
Message 1 of 4
(1,980 Views)

can you post an image of your code or the .vi file?

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 2 of 4
(1,908 Views)

Tha is the main,

galatisa_0-1616412528890.png

one of the cases has the digital 1 chan / digital N Channels

galatisa_1-1616412589290.png

So there is not much happening:

Open Linx, Open I2C, Read /write I2C and switch dig chan.

Close linx at end

 

 

0 Kudos
Message 3 of 4
(1,904 Views)

Considering the age of the Post, I think it has been resolved already.

However I want to point out that you are missing to close the I2C connection before closing Linx.

0 Kudos
Message 4 of 4
(1,403 Views)