Back to Sealevel      

int SeaDacGetPIO ( SeaMaxLin *  SeaMaxPointer,
unsigned char *  data 
)

Read the entire PIO space of a SeaDAC Lite module.

Parameters:
[in] *SeaMaxPointer Pointer to an open seaMaxModule.
[out] data 
Return values:
0 Success.
-1 Invalid model number.
-2 Unknown 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.
 
 
Generated on 3 Jun 2011.