#include <analysis.h>
#include <cvirte.h>
#include <userint.h>
#include "FirstSample.h"
static int panelHandle;
#include <ansi_c.h>
//use pragma to build with align 1 byte instead of 8 byte by default.
#pragma pack(1)
//topview2000 waveform file process...
typedef struct
{
char Fstr[8];
short BLKNum;/* < =256 */
long BLKoft[256];
}Tfilehead;
typedef struct
{
char Name[10]; // 8 charactors permited
long DataStart;
long DataEnd; // Data_Start related to trigger point
double DeltaX;
double OffsetX; // normal == 0;
char UnitX[5]; // max 2 charactors permitted
double DeltaY; // 65536 * DeltaY = full Range (OffsetY != 0)
double OffsetY; // a constant united with UnitY[]
char UnitY[5]; // max 4 charactors permitted
double DataStartEx; //__int64
double DataEndEx; //__int64
short int LenFlag ; // 0x55AA
char resvd[2]; // reserved for development
}HeadInfo; 这个跟我现在做很相似,另外我还想知道下一步的数据结构,谁知道的话,请继续跟帖或者发到我信箱jianghan992000@yahoo.com.cn
#include <cvirte.h>
#include <userint.h>
#include "FirstSample.h"
static int panelHandle;
#include <ansi_c.h>
//use pragma to build with align 1 byte instead of 8 byte by default.
#pragma pack(1)
//topview2000 waveform file process...
typedef struct
{
char Fstr[8];
short BLKNum;/* < =256 */
long BLKoft[256];
}Tfilehead;
typedef struct
{
char Name[10]; // 8 charactors permited
long DataStart;
long DataEnd; // Data_Start related to trigger point
double DeltaX;
double OffsetX; // normal == 0;
char UnitX[5]; // max 2 charactors permitted
double DeltaY; // 65536 * DeltaY = full Range (OffsetY != 0)
double OffsetY; // a constant united with UnitY[]
char UnitY[5]; // max 4 charactors permitted
double DataStartEx; //__int64
double DataEndEx; //__int64
short int LenFlag ; // 0x55AA
char resvd[2]; // reserved for development
}HeadInfo; 这个跟我现在做很相似,另外我还想知道下一步的数据结构,谁知道的话,请继续跟帖或者发到我信箱jianghan992000@yahoo.com.cn