From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,012 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,940 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,936 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,435 Views)