Instrument-control Toolkit - srl_read
- Loadable Function:
[data, count] =
srl_read(serial, n)
-
Read from serial interface.
Inputs
serial - instance of octave_serial class.
n - number of bytes to attempt to read of type Integer.Outputs
The srl_read() shall return number of bytes successfully read in count as Integer and the bytes themselves in data as uint8 array.