I am using NI845x USB to I2C/SPI module. It works fine mostly but I get the error -301742 during the middle of the test while communicating over I2C and no way to recover that. If I start my application again I get the same error over and over. But strangely, if I wait 5 min or so and then try again, it works fine for another 30 min to 1 hour.
I did use this function to increase the timeout after reading the error.
ni845xI2cConfigurationSetAckPollTimeout(i2cHandle, 1000)
What am I missing?
Any help is appreciated.