I'm trying to get 2 computers to talk to each other via the GPIB-232CV-A. Don't ask me why and NO this cannot be changed. The converter is operating in C mode. Everything is working fine. The serialPC is sending back an EOS character (carriage return or linefeed). I have setup the GPIBPC to terminate reads on EOS. Everything is cool, however...
If I send a query? command from the GPIBPC and do not perform a read, the serialPC sends a response. This response remains in the buffer (in the converter buffer?). Now if I send a different query? command from the GPIBPC and this time I perform a read, I will get the response from the previous query.
Questions:
-Is there a way to clear the buffer programmatically?
-Is there a way to detect on th
e serial side, if a read has been performed (so I can NOT send a response).
-Are there any other workarounds you can think of?