LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Run Script function called too slow

Hi,

 

I'm trying to use the NI USB-8452 to communicate with a I2C slave device. I define a script to read 32 registers value from the slave device and I have to multiple times of this. I'm doing this by called the I2C Run script function in a while loop. The problem of doing that is that the run script function actually took 2ms to run while my script of only taking 6ms. I can't afford to lose data during that 2ms time, it there anyway I could shorten this 2ms call script time?

 

The green is the script execution time and the red is the time spent in the while loop just call the script.

mew012_1-1712538269808.png

 

mew012_0-1712538193283.png

 

0 Kudos
Message 1 of 1
(228 Views)