06-13-2008 11:47 AM
06-16-2008 12:52 PM
06-16-2008 06:32 PM
Jason,
Thanks for getting back to me. It does look like its not being closed. But I've been careful to always close the routine. Is it possible the canned Labview 'close' routine isn't working correctly for the NI3856 USB to I2C adapter? Have you ever heard of this Error # -301711?
Thanks.
Larry
06-16-2008 06:34 PM
06-16-2008 06:39 PM
Can you post your code?
RayR
06-16-2008 09:43 PM
06-24-2008 06:52 PM
B2k, Jason,
As always, thanks for your continued support.
Here's the latest: I wrote a vi that simply opened an NI 845x USB to I2C reference, wrote to it and closed the reference. I loop on this using the 'continuous loop' button on the top toolbar near the 'start' and 'stop' buttons and it goes well. No failure or Error message # -301711. I then expand the loop inside a Case structure that does some actions (unrelated to NI845x) and then this same "open, write, close" reference vi above. The loop consists of using 'next state' constants that point back to the previous Case but not using the 'continous loop' button. Looping on this expanded routine and it fails after 40-50 loops with the -301711 error code that it is "out of resourses". It seems that when using an expanded loop where the program goes in and out of a Case structure it checks and counts when resources are used and I run into a limit. But it doesn't count resourses when just using the 'continuous loop' button. Any ideas?
06-25-2008 12:21 PM
06-25-2008 05:48 PM
06-26-2008 02:07 PM