◆ GetPIO()

int CSeaMaxLin::GetPIO ( unsigned char *  data)

Read the entire PIO space of a SeaDAC Lite module.

Parameters
[out]data
Return values
0Success.
-1Invalid model number.
-2Unknown connection type.

Reads the entire PIO space, inputs and outputs alike.

Warning
Sufficient data must be allocated for data before calling this function. For instance, the 8126 has 32 bits of PIO, therefore data should be allocated with 4 bytes of data before calling this function.
Note
Only available for SeaDAC 8126.

References SeaDacGetPIO().

 
 
Generated on Tue Sep 19 2017.