I can get my application into a strange mode where my code assumes that all GPIB communication is working fine, except that no communication actually occurs. If I turn on GPIB spy, I get iberr = EBUS(14) on all read and write commands. However, the value returned for iberr from the NI-supplied copy_ibvars is always 0. Has anyone else run into this situation and is there a known solution?
As a further note, it seems to happen after operator actions in the program delete and then re-create my user object which encapsulates the GPIB functionality. So it's possible that I'm registering the GPIB globals twice without properly un-registering them. Stopping the program and then re-starting it clears the problem up,
but I prefer a better solution if possible.