Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

NI USB 8452 unload a script

$
0
0

Hello

 

I have a NI USB 8452 and I need to run several different scripts on a while loop until the user presses the stop button for the loop.

 

I load the first script and run it, then I load the second script and run it and so on.....

 

After a while I got the next error:

 

Error -301703 occurred at NI-845x I2C Script Read.vi:2640001

Possible reason(s):

NI-845x: The number of reads contained in your script exceeds the maximum number of scripts this version of the driver supports. Break your script into multiple smaller scripts.

 

 

How can I unload the first script in order to load the second script, and so on?

 

If we open and close the connection to the NI USB 8452 every time we run a different script works but slows down the measurement system.

 

Any comment is really appreciated.

 

Thanks

 

David DLC

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 2167

Trending Articles



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