Instrument-control Toolkit - usbtmc_read
- Loadable Function:
[data, count] =
usbtmc_read(usbtmc, n)
-
Read from usbtmc slave device.
Inputs
usbtmc - instance of octave_usbtmc class.
n - number of bytes to attempt to read of type Integer.Outputs
count - the number of bytes successfully read as an Integer.
data - the read bytes as a uint8 array.