Function File: data = fread (obj)
Function File: data = fread (obj, size)
Function File: data = fread (obj, size, precision)
Function File: [data,count] = fread (obj, ...)
Function File: [data,count,errmsg] = fread (obj, ...)

Reads data from a SPI instrument

Inputs

obj is a SPI object.
size Number of values to read. (Default: 10).
precision precision of data.

Outputs

data data values.
count number of values read.
errmsg read operation error message.

Package: instrument-control