◆ Read() [2/2]

int CSeaMaxLin::Read ( unsigned char *  data,
int  len 
)

Read from a SeaDAC Lite module. This is a multifunction read that can read from a module previously opened. Any SeaIO devices attached to that module can then be read from in one of the following ways.

Parameters
[out]*dataPointer to data storage buffer.
[in]lenLength of data to read.
Returns
int Error code.
Return values
>0Number of bytes of data in the buffer.
-ERANGEData size too large.
-EIORead I/O error.

References SeaDacLinRead().

 
 
Generated on Tue Sep 19 2017.