Shsagetdata, Arguments returns – Bird Technologies SignalHawk User Manual
Page 31
![background image](/manuals/583805/31/background.png)
Reference
19
shSaGetData
This function returns the results of a sweep.
int BIRD_SH_API shSaGetData(
shConnection_t* Connection,
shSaData_t* Data,
WORD Timeout );
Arguments
Returns
Returns an error code indicating the status of the operation:
ZeroSpan
SweepTime
5000 ms (5 s)
Counters
CountersEnable[i] false
CountersFrequency [i]
1800000000 Hz (1.8 GHz)
DemodSignal
ModulationType Wideband_FM_Modulation
Connection
Pointer to a structure of type
shConnection_t which specifies a
connection previously established with
shConnect(…) or
shConnectDefault(…).
Data
Pointer to a structure of type
shSaData_t to contain the
measurement data.
Timeout
Timeout value of type WORD.
ERROR_SUCCESS
operation was successful.
SH_ERROR_DEVICE_NOT_
CONNECTED
No device is connected.
SH_ERROR_SELECTED_
DEVICE_NOT_CONNECTED
The specified device is connected.
SH_ERROR_INVALID_
ARGUMENT
SH_ERROR_SA_DATA_
MISMATCH
One or more of the arguments is not
valid.
Requested DemodSignal Data not valid
for the current SA measurement.
Others Call
shGetLastError() for information on
the specific error.