Shsagetdemoddata, Remarks, Arguments returns remarks – Bird Technologies SignalHawk User Manual
Page 32
Bird Technologies
20
Remarks
shSaGetData() only returns data for the specified measurement.
shSaData_t contains structures for all the measurement types, but most
of them are ignored. See the remarks on shSaData_t for more detail.
shSaGetData() does not return demodulation data. Use shSaGetDe-
modData() to get demodulation data.
shSaGetDemodData
This function returns the results of a demodulation measurement.
DWORD shSaGetDemodData(
shConnection_t* Connection,
shSaDemodData_t* DemodData,
uint Timeout
);
Arguments
Returns
Returns an error code indicating the status of the operation:
Remarks
shSaGetDemodData() only returns data for the demodulation mea-
surement. For the other measurements use shSaGetData().
Connection
Pointer to a structure of type
shConnection_t which specifies a
connection previously established with
shConnect(…) or
shConnectDefault(…).
DemodData
Pointer to a structure of type
shSaDemodData_t to contain the
demodulated data.
Timeout
Timeout value of type WORD.
ERROR_SUCCESS
operation was successful.
SH_ERROR_INVALID_
ARGUMENT
SH_ERROR_DEMOD_DATA_
MISMATCH
One or more of the arguments is not
valid.
Requested SA Data not valid for the
current DemodSignal measurement.
Others Call
shGetLastError() for information on
the specific error.