Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

845x randomly returns error in the middle of the test

$
0
0

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.


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>