I have a piece of code I've inherited that I am trying to debug. The code initializes
and starts up the GPIB interface. Then ibtmo is called with a timeout of 3 seconds. Last,
ibnotify if called with a callback method. During execution (and via NISpy), I see the
callback executing every 3s as expected with exactly the same input and output arguments
on every invocation. I have reduced the callback to a single statement, return (RQS | TIMO) ...
After a variable amount of time (usually less than 3 minutes) the callbacks stop occuring.
I cannot figure out why, any ideas? This is somewhat of an exception condition (when the
bus is idle) that I am debugging. During normal operation (constant communication) the
entire thing works propertly so I don't think it is a general configuration issue, but rather
something in particular to how ibnotify and/or ibtmo are used or implemented.
Thanks