When repeatedly performing communication tests with a device using GPIB communication, a communication error occurs once every few hundred tests.
I would like to fix this so that the error does not occur again.
Please let me know if you have any possible causes and solutions.
I send "Q" to listener. Of course, this is a valid command.
In case of an error (from I/O trace)
Description : ibwt(UD0, "Q..", 3(0x3))
Buffer : 51 0D 0A
Output :
iberr : ENOL(2)
Status description : No Listeners on the GPIB
Description : ibclr(UD0)
Output :
iberr : EBUS(14)
Status description : GPIB ibus error
When it is not an error (from I/O trace)
Description : ibwt(UD0, "Q..", 3(0x3))
Buffer : 51 0D 0A
Output :
iberr : 0
Status description : Operation completed successfully.
Description : ibclr(UD0)
Output :
iberr : 0
Status description : Operation completed successfully.
talker side exception message:
DirectWrite
NationalInstruments.NI4882:GPIB bus error
GPIB bus error\r\nIOComplete, DeviceServiceRequest
It is connected one-to-one with the listener.
Looking at the I/O trace on the listener side, it continues to issue ibwait, and it appears to be working without any particular problems.
When this error occurs, should I write the command again or is there any other solution?
Thank you.