◆ SeaDacLinRead()

int SeaDacLinRead ( SeaMaxLin SeaMaxPointer,
unsigned char *  data,
int  numBytes 
)

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
[in]*SeaMaxPointerPointer to an open seaMaxModule.
[out]*dataPointer to data storage buffer.
[in]numBytesLength 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.

Referenced by CSeaMaxLin::Read().

 
 
Generated on Tue Sep 19 2017.