├── MyButtun.cpp ├── MyButtun.h ├── ReadMe.txt ├── Release ├── MyButtun.obj ├── MyButtun.sbr ├── SerialPort.obj ├── SerialPort.sbr ├── StdAfx.obj ├── StdAfx.sbr ├── vc60.idb ├── visualscope_Dlg.exe ├── visualscope_Dlg.obj ├── visualscope_Dlg.pch ├── visualscope_Dlg.res ├── visualscope_Dlg.sbr ├── visualscope_DlgDlg.obj ├── visualscope_DlgDlg.sbr └── 虚拟示波器设置.ini ├── SerialPort.cpp ├── SerialPort.h ├── StdAfx.cpp ├── StdAfx.h ├── res ├── visualscope_Dlg.ico └── visualscope_Dlg.rc2 ├── resource.h ├── visualscope_Dlg.aps ├── visualscope_Dlg.clw ├── visualscope_Dlg.cpp ├── visualscope_Dlg.dsp ├── visualscope_Dlg.dsw ├── visualscope_Dlg.h ├── visualscope_Dlg.ncb ├── visualscope_Dlg.opt ├── visualscope_Dlg.plg ├── visualscope_Dlg.rc ├── visualscope_DlgDlg.cpp ├── visualscope_DlgDlg.h ├── 虚拟示波器V3.0.exe ├── 虚拟示波器设置.ini └── 这个文件夹中的是添加到单片机的工程中 ├── outputdata.c ├── outputdata.h └── 以上两个文件是添加到单片机的通信协议.txt /MyButtun.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/MyButtun.cpp -------------------------------------------------------------------------------- /MyButtun.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/MyButtun.h -------------------------------------------------------------------------------- /ReadMe.txt: -------------------------------------------------------------------------------- 1 | 高性能的虚拟示波器,欢迎大家共同开发 -------------------------------------------------------------------------------- /Release/MyButtun.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/MyButtun.obj -------------------------------------------------------------------------------- /Release/MyButtun.sbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/MyButtun.sbr -------------------------------------------------------------------------------- /Release/SerialPort.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/SerialPort.obj -------------------------------------------------------------------------------- /Release/SerialPort.sbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/SerialPort.sbr -------------------------------------------------------------------------------- /Release/StdAfx.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/StdAfx.obj -------------------------------------------------------------------------------- /Release/StdAfx.sbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/StdAfx.sbr -------------------------------------------------------------------------------- /Release/vc60.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/vc60.idb -------------------------------------------------------------------------------- /Release/visualscope_Dlg.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_Dlg.exe -------------------------------------------------------------------------------- /Release/visualscope_Dlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_Dlg.obj -------------------------------------------------------------------------------- /Release/visualscope_Dlg.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_Dlg.pch -------------------------------------------------------------------------------- /Release/visualscope_Dlg.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_Dlg.res -------------------------------------------------------------------------------- /Release/visualscope_Dlg.sbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_Dlg.sbr -------------------------------------------------------------------------------- /Release/visualscope_DlgDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_DlgDlg.obj -------------------------------------------------------------------------------- /Release/visualscope_DlgDlg.sbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/Release/visualscope_DlgDlg.sbr -------------------------------------------------------------------------------- /Release/虚拟示波器设置.ini: -------------------------------------------------------------------------------- 1 | 1 2 | 11 3 | 0 4 | 0 5 | 0 6 | 0 7 | 0 8 | 0 9 | 0 10 | 0 11 | -------------------------------------------------------------------------------- /SerialPort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/SerialPort.cpp -------------------------------------------------------------------------------- /SerialPort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/SerialPort.h -------------------------------------------------------------------------------- /StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // visualscope_Dlg.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__CA84C1ED_3886_4232_A96F_4DD6D4347EC8__INCLUDED_) 7 | #define AFX_STDAFX_H__CA84C1ED_3886_4232_A96F_4DD6D4347EC8__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 14 | 15 | #include // MFC core and standard components 16 | #include // MFC extensions 17 | #include // MFC Automation classes 18 | #include // MFC support for Internet Explorer 4 Common Controls 19 | #ifndef _AFX_NO_AFXCMN_SUPPORT 20 | #include // MFC support for Windows Common Controls 21 | #endif // _AFX_NO_AFXCMN_SUPPORT 22 | 23 | 24 | //{{AFX_INSERT_LOCATION}} 25 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 26 | 27 | #endif // !defined(AFX_STDAFX_H__CA84C1ED_3886_4232_A96F_4DD6D4347EC8__INCLUDED_) 28 | -------------------------------------------------------------------------------- /res/visualscope_Dlg.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/res/visualscope_Dlg.ico -------------------------------------------------------------------------------- /res/visualscope_Dlg.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // VISUALSCOPE_DLG.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by visualscope_Dlg.rc 4 | // 5 | #define IDM_ABOUTBOX 0x0010 6 | #define IDD_ABOUTBOX 100 7 | #define IDS_ABOUTBOX 101 8 | #define IDD_VISUALSCOPE_DLG_DIALOG 102 9 | #define IDR_MAINFRAME 128 10 | #define IDC_BUTTON_OPEN_COM_FIRST 1000 11 | #define IDC_BUTTON_CLEAN_SCOPE 1001 12 | #define IDC_BUTTON_X_BIG 1002 13 | #define IDC_BUTTON_X_LITTLE 1003 14 | #define IDC_BUTTON_Y_BIG 1004 15 | #define IDC_BUTTON_Y_LITTLE 1005 16 | #define IDC_COMBO_COM_NUM 1006 17 | #define IDC_COMBO_BANDRATE 1007 18 | #define IDC_STATIC_DISP_NOTHING 1011 19 | #define IDC_STATIC_RECEIVE_COUNT 1012 20 | #define IDC_CHECK_X_FOLLOW 1013 21 | #define IDC_CHECK_Y_AUTO 1014 22 | #define IDC_CHECK_CHANNEL1 1015 23 | #define IDC_CHECK_CHANNEL2 1016 24 | #define IDC_CHECK_CHANNEL3 1017 25 | #define IDC_CHECK_CHANNEL4 1018 26 | #define IDC_BUTTON_STOP_SCOPE 1019 27 | #define IDC_BUTTON_ABOUT_AUTHOR 1020 28 | #define IDC_BUTTON_SAVE_SCOPE 1021 29 | #define IDC_BUTTON_OPEN_DATA_FROM_FILE 1022 30 | #define IDC_CHECK_POSITIVE_ONLY 1023 31 | 32 | // Next default values for new objects 33 | // 34 | #ifdef APSTUDIO_INVOKED 35 | #ifndef APSTUDIO_READONLY_SYMBOLS 36 | #define _APS_NEXT_RESOURCE_VALUE 133 37 | #define _APS_NEXT_COMMAND_VALUE 32771 38 | #define _APS_NEXT_CONTROL_VALUE 1022 39 | #define _APS_NEXT_SYMED_VALUE 101 40 | #endif 41 | #endif 42 | -------------------------------------------------------------------------------- /visualscope_Dlg.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.aps -------------------------------------------------------------------------------- /visualscope_Dlg.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | LastClass=CVisualscope_DlgDlg 6 | LastTemplate=CDialog 7 | NewFileInclude1=#include "stdafx.h" 8 | NewFileInclude2=#include "visualscope_Dlg.h" 9 | 10 | ClassCount=3 11 | Class1=CVisualscope_DlgApp 12 | Class2=CVisualscope_DlgDlg 13 | Class3=CAboutDlg 14 | 15 | ResourceCount=3 16 | Resource1=IDD_ABOUTBOX 17 | Resource2=IDR_MAINFRAME 18 | Resource3=IDD_VISUALSCOPE_DLG_DIALOG 19 | 20 | [CLS:CVisualscope_DlgApp] 21 | Type=0 22 | HeaderFile=visualscope_Dlg.h 23 | ImplementationFile=visualscope_Dlg.cpp 24 | Filter=N 25 | LastObject=CVisualscope_DlgApp 26 | 27 | [CLS:CVisualscope_DlgDlg] 28 | Type=0 29 | HeaderFile=visualscope_DlgDlg.h 30 | ImplementationFile=visualscope_DlgDlg.cpp 31 | Filter=D 32 | BaseClass=CDialog 33 | VirtualFilter=dWC 34 | LastObject=IDC_CHECK_POSITIVE_ONLY 35 | 36 | [CLS:CAboutDlg] 37 | Type=0 38 | HeaderFile=visualscope_DlgDlg.h 39 | ImplementationFile=visualscope_DlgDlg.cpp 40 | Filter=D 41 | 42 | [DLG:IDD_ABOUTBOX] 43 | Type=1 44 | Class=CAboutDlg 45 | ControlCount=4 46 | Control1=IDC_STATIC,static,1342177283 47 | Control2=IDC_STATIC,static,1342308480 48 | Control3=IDC_STATIC,static,1342308352 49 | Control4=IDOK,button,1342373889 50 | 51 | [DLG:IDD_VISUALSCOPE_DLG_DIALOG] 52 | Type=1 53 | Class=CVisualscope_DlgDlg 54 | ControlCount=23 55 | Control1=IDC_BUTTON_OPEN_COM_FIRST,button,1342242816 56 | Control2=IDC_BUTTON_CLEAN_SCOPE,button,1342242816 57 | Control3=IDC_BUTTON_X_BIG,button,1073807360 58 | Control4=IDC_BUTTON_X_LITTLE,button,1073807360 59 | Control5=IDC_BUTTON_Y_BIG,button,1073807360 60 | Control6=IDC_BUTTON_Y_LITTLE,button,1073807360 61 | Control7=IDC_COMBO_COM_NUM,combobox,1344340226 62 | Control8=IDC_STATIC,static,1342308865 63 | Control9=IDC_COMBO_BANDRATE,combobox,1344339970 64 | Control10=IDC_STATIC,static,1342308865 65 | Control11=IDC_STATIC_DISP_NOTHING,static,1342308864 66 | Control12=IDC_STATIC_RECEIVE_COUNT,static,1073872896 67 | Control13=IDC_CHECK_X_FOLLOW,button,1342242819 68 | Control14=IDC_CHECK_Y_AUTO,button,1342242819 69 | Control15=IDC_CHECK_CHANNEL1,button,1342242819 70 | Control16=IDC_CHECK_CHANNEL2,button,1342242819 71 | Control17=IDC_CHECK_CHANNEL3,button,1342242819 72 | Control18=IDC_CHECK_CHANNEL4,button,1342242819 73 | Control19=IDC_BUTTON_STOP_SCOPE,button,1342242816 74 | Control20=IDC_BUTTON_ABOUT_AUTHOR,button,1342242816 75 | Control21=IDC_BUTTON_SAVE_SCOPE,button,1342242816 76 | Control22=IDC_BUTTON_OPEN_DATA_FROM_FILE,button,1342242816 77 | Control23=IDC_CHECK_POSITIVE_ONLY,button,1342242819 78 | 79 | -------------------------------------------------------------------------------- /visualscope_Dlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.cpp -------------------------------------------------------------------------------- /visualscope_Dlg.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="visualscope_Dlg" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=visualscope_Dlg - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "visualscope_Dlg.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "visualscope_Dlg.mak" CFG="visualscope_Dlg - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "visualscope_Dlg - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "visualscope_Dlg - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "visualscope_Dlg - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 6 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 6 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 49 | # ADD RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "visualscope_Dlg - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 6 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 6 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 74 | # ADD RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "visualscope_Dlg - Win32 Release" 87 | # Name "visualscope_Dlg - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\MyButtun.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\SerialPort.cpp 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\StdAfx.cpp 102 | # ADD CPP /Yc"stdafx.h" 103 | # End Source File 104 | # Begin Source File 105 | 106 | SOURCE=.\visualscope_Dlg.cpp 107 | # End Source File 108 | # Begin Source File 109 | 110 | SOURCE=.\visualscope_Dlg.rc 111 | # End Source File 112 | # Begin Source File 113 | 114 | SOURCE=.\visualscope_DlgDlg.cpp 115 | # End Source File 116 | # End Group 117 | # Begin Group "Header Files" 118 | 119 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 120 | # Begin Source File 121 | 122 | SOURCE=.\MyButtun.h 123 | # End Source File 124 | # Begin Source File 125 | 126 | SOURCE=.\Resource.h 127 | # End Source File 128 | # Begin Source File 129 | 130 | SOURCE=.\SerialPort.h 131 | # End Source File 132 | # Begin Source File 133 | 134 | SOURCE=.\StdAfx.h 135 | # End Source File 136 | # Begin Source File 137 | 138 | SOURCE=.\visualscope_Dlg.h 139 | # End Source File 140 | # Begin Source File 141 | 142 | SOURCE=.\visualscope_DlgDlg.h 143 | # End Source File 144 | # End Group 145 | # Begin Group "Resource Files" 146 | 147 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 148 | # Begin Source File 149 | 150 | SOURCE=.\res\2.bmp 151 | # End Source File 152 | # Begin Source File 153 | 154 | SOURCE=.\res\visualscope_Dlg.ico 155 | # End Source File 156 | # Begin Source File 157 | 158 | SOURCE=.\res\visualscope_Dlg.rc2 159 | # End Source File 160 | # End Group 161 | # Begin Source File 162 | 163 | SOURCE=.\ReadMe.txt 164 | # End Source File 165 | # End Target 166 | # End Project 167 | -------------------------------------------------------------------------------- /visualscope_Dlg.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.dsw -------------------------------------------------------------------------------- /visualscope_Dlg.h: -------------------------------------------------------------------------------- 1 | // visualscope_Dlg.h : main header file for the VISUALSCOPE_DLG application 2 | // 3 | 4 | #if !defined(AFX_VISUALSCOPE_DLG_H__7F6D8968_A1CA_4803_B219_908A8E072EC2__INCLUDED_) 5 | #define AFX_VISUALSCOPE_DLG_H__7F6D8968_A1CA_4803_B219_908A8E072EC2__INCLUDED_ 6 | 7 | #if _MSC_VER > 1000 8 | #pragma once 9 | #endif // _MSC_VER > 1000 10 | 11 | #ifndef __AFXWIN_H__ 12 | #error include 'stdafx.h' before including this file for PCH 13 | #endif 14 | 15 | #include "resource.h" // main symbols 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | // CVisualscope_DlgApp: 19 | // See visualscope_Dlg.cpp for the implementation of this class 20 | // 21 | 22 | class CVisualscope_DlgApp : public CWinApp 23 | { 24 | public: 25 | CVisualscope_DlgApp(); 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CVisualscope_DlgApp) 30 | public: 31 | virtual BOOL InitInstance(); 32 | //}}AFX_VIRTUAL 33 | 34 | // Implementation 35 | 36 | //{{AFX_MSG(CVisualscope_DlgApp) 37 | // NOTE - the ClassWizard will add and remove member functions here. 38 | // DO NOT EDIT what you see in these blocks of generated code ! 39 | //}}AFX_MSG 40 | DECLARE_MESSAGE_MAP() 41 | }; 42 | 43 | 44 | ///////////////////////////////////////////////////////////////////////////// 45 | 46 | //{{AFX_INSERT_LOCATION}} 47 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 48 | 49 | #endif // !defined(AFX_VISUALSCOPE_DLG_H__7F6D8968_A1CA_4803_B219_908A8E072EC2__INCLUDED_) 50 | -------------------------------------------------------------------------------- /visualscope_Dlg.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.ncb -------------------------------------------------------------------------------- /visualscope_Dlg.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.opt -------------------------------------------------------------------------------- /visualscope_Dlg.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: visualscope_Dlg - Win32 Release-------------------- 7 |

8 |

Command Lines

9 | Creating command line "rc.exe /l 0x804 /fo"Release/visualscope_Dlg.res" /d "NDEBUG" /d "_AFXDLL" "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\visualscope_Dlg.rc"" 10 | Creating temporary file "Z:\TEMP\RSP84A.tmp" with contents 11 | [ 12 | /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"Release/" /Fp"Release/visualscope_Dlg.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 13 | "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\MyButtun.cpp" 14 | "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\SerialPort.cpp" 15 | "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\visualscope_Dlg.cpp" 16 | "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\visualscope_DlgDlg.cpp" 17 | ] 18 | Creating command line "cl.exe @Z:\TEMP\RSP84A.tmp" 19 | Creating temporary file "Z:\TEMP\RSP84B.tmp" with contents 20 | [ 21 | /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"Release/" /Fp"Release/visualscope_Dlg.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 22 | "F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\StdAfx.cpp" 23 | ] 24 | Creating command line "cl.exe @Z:\TEMP\RSP84B.tmp" 25 | Creating temporary file "Z:\TEMP\RSP85C.tmp" with contents 26 | [ 27 | /nologo /subsystem:windows /incremental:no /pdb:"Release/visualscope_Dlg.pdb" /machine:I386 /out:"Release/visualscope_Dlg.exe" 28 | ".\Release\MyButtun.obj" 29 | ".\Release\SerialPort.obj" 30 | ".\Release\StdAfx.obj" 31 | ".\Release\visualscope_Dlg.obj" 32 | ".\Release\visualscope_DlgDlg.obj" 33 | ".\Release\visualscope_Dlg.res" 34 | ] 35 | Creating command line "link.exe @Z:\TEMP\RSP85C.tmp" 36 |

Output Window

37 | Compiling resources... 38 | Compiling... 39 | StdAfx.cpp 40 | Compiling... 41 | MyButtun.cpp 42 | SerialPort.cpp 43 | F:\1_ALL Projects\C++\visualscope_Dlg\visualscope_Dlg\SerialPort.cpp(916) : warning C4018: '<' : signed/unsigned mismatch 44 | visualscope_Dlg.cpp 45 | visualscope_DlgDlg.cpp 46 | Generating Code... 47 | Linking... 48 | 49 | 50 | 51 |

Results

52 | visualscope_Dlg.exe - 0 error(s), 1 warning(s) 53 |
54 | 55 | 56 | -------------------------------------------------------------------------------- /visualscope_Dlg.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_Dlg.rc -------------------------------------------------------------------------------- /visualscope_DlgDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_DlgDlg.cpp -------------------------------------------------------------------------------- /visualscope_DlgDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/visualscope_DlgDlg.h -------------------------------------------------------------------------------- /虚拟示波器V3.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/虚拟示波器V3.0.exe -------------------------------------------------------------------------------- /虚拟示波器设置.ini: -------------------------------------------------------------------------------- 1 | 1 2 | 7 3 | 1 4 | 0 5 | 0 6 | 0 7 | 0 8 | 0 9 | 0 10 | 0 11 | -------------------------------------------------------------------------------- /这个文件夹中的是添加到单片机的工程中/outputdata.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/这个文件夹中的是添加到单片机的工程中/outputdata.c -------------------------------------------------------------------------------- /这个文件夹中的是添加到单片机的工程中/outputdata.h: -------------------------------------------------------------------------------- 1 | #ifndef _outputdata_H 2 | #define _outputdata_H 3 | extern void OutPut_Data(int x,int y,int z,int w); 4 | #endif 5 | -------------------------------------------------------------------------------- /这个文件夹中的是添加到单片机的工程中/以上两个文件是添加到单片机的通信协议.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ITzhangcong/visual_scope/a795649e7cc63435e46c84b7581ca85459719cb0/这个文件夹中的是添加到单片机的工程中/以上两个文件是添加到单片机的通信协议.txt --------------------------------------------------------------------------------