Hello Stevens1111,
According to the documentation it sounds this error occurs because a 488.2 command is aborted, probably because a new command is sent to the GPIB interface before it has finished executing the last command. Do you have any waits in your code to allow the device and interface enough time to respond to each command? What version of the NI-488.2 driver are you using? Is the error occurring when you try to read or when the write command is issued?
I hope this helps, please let us know if you continue to see this behavior or how you were able to resolve this error.
Regards,
Angela
Applications Engineer