资源简介
能将串口接收到的数据实时转化为波形图,不过有点小bug,数据量太大会出问题,希望有谁能解决告知我
代码片段和文件信息
// Com.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Com.h“
#include “ComDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CComApp
BEGIN_MESSAGE_MAP(CComApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CComApp construction
CComApp::CComApp()
{
// support Restart Manager
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CComApp object
CComApp theApp;
// CComApp initialization
BOOL CComApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
// Create the shell manager in case the dialog contains
// any shell tree view or shell list view controls.
CShellManager *pShellManager = new CShellManager;
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
CComDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Delete the shell manager created above.
if (pShellManager != NULL)
{
delete pShellManager;
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-06-02 11:18 Com\
目录 0 2015-03-23 16:06 Com\Com\
文件 3702 2015-01-14 11:28 Com\Com\CAxes.h
文件 15255 2015-01-14 11:28 Com\Com\CAxis.h
文件 0 2015-03-23 16:06 Com\Com\CBMPExport.h
文件 1093 2015-01-14 11:28 Com\Com\CScroll.h
文件 27925 2015-01-14 11:28 Com\Com\CSeries.h
文件 15331 2015-01-14 11:28 Com\Com\CTChart.h
文件 107056 2015-02-20 17:31 Com\Com\Com.aps
文件 2430 2015-01-13 21:15 Com\Com\Com.cpp
文件 487 2015-01-13 21:15 Com\Com\Com.h
文件 17736 2015-02-20 17:31 Com\Com\Com.rc
文件 6359 2015-01-14 11:28 Com\Com\Com.vcxproj
文件 2761 2015-01-14 11:28 Com\Com\Com.vcxproj.filters
文件 143 2015-01-13 21:15 Com\Com\Com.vcxproj.user
文件 10803 2015-05-04 15:36 Com\Com\ComDlg.cpp
文件 1246 2015-01-20 15:24 Com\Com\ComDlg.h
目录 0 2015-05-04 15:36 Com\Com\Debug\
文件 50224 2015-05-04 15:36 Com\Com\Debug\CL.read.1.tlog
文件 2338 2015-05-04 15:36 Com\Com\Debug\CL.write.1.tlog
文件 915 2015-01-14 11:29 Com\Com\Debug\Com.exe.em
文件 980 2015-01-14 11:29 Com\Com\Debug\Com.exe.em
文件 640 2015-05-04 15:36 Com\Com\Debug\Com.exe.intermediate.manifest
文件 61 2015-05-04 15:36 Com\Com\Debug\Com.lastbuildstate
文件 2609 2015-05-04 15:36 Com\Com\Debug\Com.log
文件 38940 2015-02-20 17:17 Com\Com\Debug\Com.obj
文件 36241408 2015-05-04 15:36 Com\Com\Debug\Com.pch
文件 70796 2015-05-04 15:36 Com\Com\Debug\Com.res
文件 713 2015-02-20 17:17 Com\Com\Debug\Com.vcxprojResolveAssemblyReference.cache
文件 0 2015-02-20 17:17 Com\Com\Debug\Com.write.1.tlog
文件 131372 2015-05-04 15:36 Com\Com\Debug\ComDlg.obj
............此处省略71个文件信息
- 上一篇:unity 中文官方api使用手册
- 下一篇:ssh框架完整
相关资源
- 基于labview温湿度采集,粮仓温湿度波
- qt写的波形显示和分析控件
- labview 波形显示并存储以及回放功能
- VC程序实现了波形显示与FFT算法
- 基于12864LCD的波形显示系统的研制
- 一款具有数据解析/波形显示/保存文件
- 基于labview的温度串口接收及波形显示
- labview串口接收和波形显示,还有存储
- labview做的串口接收并波形显示,并存
- 0.96 OLED波形显示
- 主要用于串口获取数据的接收显示,
- 12864实时波形显示
- 串口数据保存、波形显示
- 基于12864液晶模块的动态波形显示实现
- Pcm声音波形显示用vc实现的很有用啊
- labview读取串口数据,波形显示并存储
- 串口波形助手第二版
- labview波形显示-数字电压表
- 串口数据采集带波形显示
评论
共有 条评论