Main Content
readbinblock
Description
reads a binblock of data from the VISA resource data
= readbinblock(v
)v
and returns the data
as a row vector of doubles. The function suspends MATLAB® execution until the full binblock is read or a timeout occurs.
The function discards and clears any data in the buffer before the recognized binblock. If no binblock is found the operation times out, returns an empty value, and discards all the data in the buffer. An error in the operation also flushes the data buffer.
Examples
Input Arguments
Version History
Introduced in R2021a
See Also
visadev
| read
| readline
| writebinblock