Reads raw data from the device
int RawRead(void * pData, int MaxDataByteSize, bool Synchronous = false, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
The number of bytes filled in destination buffer, can be less or equal to MaxDataByteSize.
Some devices provides raw data flows. The message sent to the device is Moda::STDCoreDevicesMessages::COREDEVICE_READ if Synchronous is false, Moda::STDCoreDevicesMessages::COREDEVICE_SYNCREAD otherwise.
When Synchronous flag is true, the function call remains blocked until the device has something to write on the data flow. If Synchronous is false, function can returns with no data read.