reads the complete contents of the buffer on a device.
reads n elements from the buffer.
reads elements from the buffer until the device-specific criterion crit is met.
reads elements associated with the parameter param.
reads elements associated with the parami.
- A device can be specified either by a DeviceObject or by a string representing a device class.
- DeviceReadBuffer is a blocking function; when called, it communicates with the device and does not return until it has the data it needs.
- Not all devices have buffers. For those that do not, DeviceReadBuffer generates a message.
Examplesopen allclose all
Basic Examples (2)
Write a string of bytes to a Sphero serial device after opening a connection to it:
Wolfram Research (2014), DeviceReadBuffer, Wolfram Language function, https://reference.wolfram.com/language/ref/DeviceReadBuffer.html.
Wolfram Language. 2014. "DeviceReadBuffer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DeviceReadBuffer.html.
Wolfram Language. (2014). DeviceReadBuffer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DeviceReadBuffer.html