Rong wrote in message
news:8nqknm$c3o$1@spacebar.ucc.usyd.edu.au...
> Does anyone in this group have experiences in solving such kind of
problem?
> Any of your advises will be highly appreciated.
I've periodically found that the default way to signify the end of a
transmission in the low level GPIB sub-vis seems to change between the GPIB
"end of transmission" line, and various combinations of CR and LF at the end
of the string. Different instruments also may respond in different ways to
different combinations of these. A fuzzy description, I know, but it's been
a while since I last had a problem of this nature.
The fact you can execute the write but you get a failure on read leads me to
think you may have a similar problem- since the writ
e isn't actually being
terminated correctly, you're trying to do a read while various elements
still think a write is in progress, and it fails.
Options to try are to explicitly put a CR or LF on the end of the string
you're transmitting- or both- and try the transfer with and without pulling
the GPIB line, and see if things start to work.