Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

-301721 Error on NI-8451

Yes, it still does it for the shipping one, but rarely. It does it alot for my objec toriented code with many levels of abstraction. It is certainly possible I forgot to delete something somewhere, but when the program exits, it should take care of that if it's memory, I'm not sure what it does for memory mapped IO. Could be that, but that doesn't explain why it fails on the one they give out.

 

Also, no improvement since the new update to the drivers for NI-8451.

0 Kudos
Message 11 of 12
(1,259 Views)

Hello blah32,

 

Please take a Spy capture again and set it to stop on your error.  Specifically, go to Spy»Options and click on the tab Error Action.  Configure your window to look like the following:

ScreenShot093.png

Please post this spy capture once you've got it.  If this only happens occasionally in the shipping example, but very frequently in your code, it sounds like we again have left a connection open to your unit or perhaps you are opening and closing references inside of a loop.  I look forward to this capture so that hopefully we can shed some light on what's happening here. Thanks and have a great day. 

ColeR
Field Engineer
0 Kudos
Message 12 of 12
(1,243 Views)