04-30-2023 03:11 AM
Hi I am student trying to learn how to use labview and I dont quit undertand what is the controller ID (I2C adress ) or what is referering to ? is it a port in the myRio 1900? and dont know what is the problem with the error out it says the description "
363011 | A No Acknowledge (NAK) bit was received from the slave device after the last address transmission. |
" and dont quiet get it due to the terminology they use if can explain in simple words I will appreciate
Solved! Go to Solution.
04-30-2023 05:49 AM - edited 04-30-2023 05:50 AM
Since I2C is a multi device bus, it needs some addressing. The I2C address is hardware specific, it is depending on the I2C interface in your external device. It should be a number between 1 and 254, usually in hex notation 0x01 - 0xFE, and should be documented in your hardware device documentation. Sometimes I2C chips allow with DIP switches to vary the address slightly such as defining 2 or 3 bits of the eight bits, the rest is hardwired in your device.
If your device is an intelligent controller device with its own CPU it may also have an arbitrary I2C address configuration that you need to set with whatever software tools your device is coming with.