What version of the NI-488.2 driver are you using? Could you attach an NI-Spy log to show us the issue?
As a note, sometimes iberr will contain a value to indicate an old setting. For example, the ibeos call will set iberr to the old EOS character. The value in iberr only indicates an error if the error bit is set in ibsta.