-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTEST_LXSMWD12View.h
More file actions
86 lines (69 loc) · 2.62 KB
/
TEST_LXSMWD12View.h
File metadata and controls
86 lines (69 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// TEST_LXSMWD12View.h : interface of the CTEST_LXSMWD12View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TEST_LXSMWD12VIEW_H__8A36BA1B_AC51_4F5E_AA35_801F1D2EDA97__INCLUDED_)
#define AFX_TEST_LXSMWD12VIEW_H__8A36BA1B_AC51_4F5E_AA35_801F1D2EDA97__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#if (My64bit == 1) // 64비트용 라이브러리 import
#pragma comment(lib,"LIB_64bit\\LXSMWD12.lib") // USB장치 통신 라이브러리 임포트.
#pragma comment(lib,"LIB_64bit\\ACQPLOT.lib") // 챠트 표현하는 라이브러리 임포트.
#elif (My32bit== 1)// 32비트용 라이브러리 import
#pragma comment(lib,"LIB_32bit\\LXSMWD12.lib") // USB장치 통신 라이브러리 임포트.
#pragma comment(lib,"LIB_32bit\\ACQPLOT.lib") // 챠트 표현하는 라이브러리 임포트.
#endif
#define MAXNUM_CH 1 // 스트림의 최대 채널수.
#define NUM_SAMPLE 4 // 각 채널당 샘플링 수.
#include "DlgStatusView.h" // 상태보기 대화상자 이것 속에서 LXSMWD12.H 도 include하고 있다.
#include "ACQPLOTDLL.h" // 챠트표현.
class CTEST_LXSMWD12View : public CView
{
protected: // create from serialization only
CTEST_LXSMWD12View();
DECLARE_DYNCREATE(CTEST_LXSMWD12View)
// Attributes
public:
CTEST_LXSMWD12Doc* GetDocument();
CString y_text[8];
// Operations
public:
CDlgStatusView *pDlg; // Modeless 대화상자 . DLL 함수시험 , 상태보기
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTEST_LXSMWD12View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTEST_LXSMWD12View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
unsigned int Count_SaveData,FLAG_SaveData;
float SaveData[4096];
void Save_Data(float* stream);
// Generated message map functions
protected:
//{{AFX_MSG(CTEST_LXSMWD12View)
afx_msg void OnMenuViewdlgstatus();
afx_msg void OnMenuSavedata();
afx_msg void OnMenuSavestart();
afx_msg void OnMenuSavestop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
afx_msg LRESULT OnStreamData(WPARAM wParam, LPARAM lParam);
};
#ifndef _DEBUG // debug version in TEST_LXSMWD12View.cpp
inline CTEST_LXSMWD12Doc* CTEST_LXSMWD12View::GetDocument()
{ return (CTEST_LXSMWD12Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEST_LXSMWD12VIEW_H__8A36BA1B_AC51_4F5E_AA35_801F1D2EDA97__INCLUDED_)