AnsweredAssumed Answered ReadBinaryBlockOfByte() terminates when it sees a newline in the data

Question asked by johno999 on Oct 16, 2019

I am using in an application that sends SCPI queries and receives replies. ASCII replies to things like *IDN? work ok, but when I try to receive binary data with ReadBinaryBlockOfByte(), the read terminates when it sees a newline character in the data. If I disable the termination character then ReadBinaryBlockOfByte() throws a timeout exception.


How can I read binary data?