Hantek DSO3064USB SDK manual HTDisplayDll

HTDispalyDll 二次开发用函数简要说明
函数 HTDrawGrid 绘图使用 DLL_API void WINAPI HTDrawGrid(
HDC hDC, //绘图对象的句柄 int nLeft,//绘图范围的 left 坐标 int nTop, //绘图范围的 top 坐标 int nRight, //绘图范围的 right 坐标 int nBottom, //绘图范围的 bottom 坐标 USHORT nHoriGridNum, //水平绘制大格的个数, USHORT nVertGridNum,//垂直绘制大格的个数 USHORT nBright,//绘制图象的亮度 USHORT IsGrid //是否绘制网格刻度 );
函数 HTDrawWaveInYTVC++ 调用 DLL_API void WINAPI HTDrawWaveInYT(
HDC hDC, //绘图对象的句柄 RECT Rect, //绘图的 Rect COLORREF clrRGB,//绘图使用的颜色 USHORT nDisType,//显示类型,点或线 short* pSrcData, //被绘制的源数据 ULONG nSrcDataLen, //被绘制的源数据长度 ULONG nDisDataLen,// 被绘制的源数据要显示出来的长度 ULONG nCenterData,//被绘制的源数据的一半 USHORT nDisLeverPos, //显示的零电平位置 double dbHorizontal,//水平缩放因子 double dbVertical,//垂直缩放因子 USHORT nYTFormat,//格式:Normal 还是 Scan ULONG nScanLen//扫描的数据长度,扫描模式下有效 );
函数 HTDrawWaveInYTVBVB 调用, 参数意义同 VC++调用函数 HTDrawWaveInYT DLL_API void WINAPI HTDrawWaveInYTVB(
HDC hDC, int left, int top, int right, int bottom, USHORT R, USHORT G, USHORT B, USHORT nDisType, short* pSrcData,
ULONG nSrcDataLen, ULONG nDisDataLen, ULONG nCenterData, USHORT nDisLeverPos, double dbHorizontal, double dbVertical, USHORT nYTFormat, ULONG nScanLen
);
Loading...