Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-845x I2C Run Script.vi got error -30742. I cannot write or read

Hi All,

 

I am using Labview 8.5 and Ni-8451.

I got the error coded -30742 during writing data into MCU.
It works in Cypress IIC, but using Ni-8451 it won't work.
Please help me with... Why I got this error? Any idea?

Best Thanks.


Jessie

0 Kudos
Message 1 of 2
(4,133 Views)

Greetings Cloud05

 

Are you using one of the LabVIEW examples for I2C scripting? Have you tried one of those? How are you configuring the I2C communication parameters? (clk speed, Volt levels and such) Finally, can you confirm the error code is -30742 and not -301742. If the latter is the case, then the problem is caused by the slave not acknowledging the master’s signal. Please reply back so that we can continue the troubleshooting process. Have a nice day.

 

Warm Regards, 

Luis J.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(4,095 Views)