I looked at the code. Do you need a non-default timeout change on the write command? What happens after the error code, does it continually error or does it clear?
Would it be possible for you to post a NI-Spy capture here? It sounds like your GPIB is not ready to write. Seeing what lines are asserted could be useful to troubleshoot.
Message Edited by MXI Master on 06-17-200804:14 PM