◆ SeaDacGetPIO()

int SeaDacGetPIO ( SeaMaxLin SeaMaxPointer,
unsigned char *  data 
)

Read the entire PIO space of a SeaDAC Lite module.

Parameters
[in]*SeaMaxPointerPointer to an open seaMaxModule.
[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 FTDI_DIRECT.

Referenced by CSeaMaxLin::GetPIO().

 
 
Generated on Tue Sep 19 2017.