340
WAVECOM Data Formats WAVECOM Decoder W74PC, W-PCI/e, W-CODE, W-CLOUD Manual V9.1.0
typedef struct ST_SONAGRAM_DATA
{
short asFFTSamp[2048];
SYSTEMTIME Time;
} ST_SONAGRAM_DATA;
SigAnal data
The FileType stored in the file header is “SigAnal”.
Header data
This file type uses the ‘File Header’ described in chapter “File Header” on page 333.
The following additional data is stored in the Header, following the default header:
CursorHide: flag that indicates if the cursor are hidden.
LabelX: the x-axis unit label string.
LabelY: the y-axis unit label string.
Pad: padding bytes for alignment ( not used ).
XSizePhys: the physical width of the data range.
YSizePhys: the physical height of the data range.
XSizeUser: the width of the data range in the user interface.
YSizeUser: the height of the data range in the user interface.
To the default file header with 64 bytes additional a block of 112 bytes is added.
The additional block contains display parameter used by the WAVECOM GUI for displaying the stored data
correctly.
NOTE: the following struct type could be used to extract the data header.
struct SigAnalData
{
char m_nCursorHide;
char m_strLabelX[40];
char m_strLabelY[40];
long m_Phis_xSize;
double m_Phis_ySize;
double m_User_xSize;
double m_User_ySize;
};
Data
This FileType uses the data structure described in chapter “Data Structures” on page 334 to store the da-
ta.
64 Bytes 1 Byte
FileHeader
CursorHide
40 Bytes
4 Bytes
LabelY
XSizePhys
8 Bytes
40 Bytes
LabelX
YSizePhys
8 Bytes 8 Bytes
XSizeUser YSizeUser
3 Bytes
Pad