06-04-2019 09:07 PM
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
06-05-2019 02:18 PM
Hey DavidDLC,
Why don't you try to either create the scripts and immediately run them, or to create the scripts all at the same time and then run them all at the same time?
06-05-2019 02:41 PM
Thank you for your answer.
Based on another post, I decided to use the i2c Basic VIs
David DLC