Clear instrument buffer
A GPIB, VISA-GPIB, VISA-VXI, VISA-GPIB-VXI, VISA-Serial, or VISA-TCPIP object.
clrdevice(obj) clears the hardware buffer
of the instrument connected to
Before you can clear the hardware buffer, the instrument must be connected to
obj with the
fopen function. A connected
object has a
Status property value of
If you issue
disconnected from the instrument, then an error is returned.
visaobject interface will be removed
Not recommended starting in R2021a