I'm developing a custom sensor that communicates over I2C with the NXT.
I need to perform sequencially several read / write actions over I2C.
I know that the NXT toolkit is limited to only one frame sequences and that is possible to chain them with "pink NXT wires" or "any other wire".
I've tried several times but I only get the first frame working. The other aren't executed.
Does anyone here has enough experience or advices to perform several I2C operations sequencially in the same VI.
Many thanks in advance.
What version of LabVIEW / NXT Module are you using?
The most recent LVLM supports multi-frame stacked sequences.
Take a look at the ultrasonic sensor block diagram, it has a configure step followed by actually reading the data.
One problem can be trying to read/write the i2c channel too fast. You may need to insert some arbitrary wait times in between sequential i2c calls.
If you post your code it might be easier to tell whats not working.