목록분류 전체보기 (404)
SPRING :: NOTE
KEYSIGHT - Download Page
/************************************************************/ /* Using Marker Delta Mode and Marker Minimum Search */ /* */ /* This example is for the N9320B Spectrum Analyzers */ /* */ /* This C programming example does the following. */ /* The SCPI instrument commands used are given as reference. */ /* */ /* - Opens a USB session */ /* - Clears the Analyzer */ /* - Resets the Analyzer */ /* *..
/************************************************************/ /* Using Marker Peak Search and Peak Excursion */ /* */ /* This example is for the N9320B Spectrum Analyzer. */ /* */ /* This C programming example does the following. */ /* The SCPI instrument commands used are given as reference. */ /* */ /* - Opens a USB session */ /* - Clears the Analyzer */ /* *CLS */ /* - Resets the Analyzer */..
/************************************************************/ /* Measuring Phase Noise */ /* */ /* This example is for the N9320B Spectrum Analyzers */ /* */ /* This C programming example does the following. */ /* The SCPI instrument commands used are given as reference. */ /* */ /* - Opens a USB session */ /* - Clears the Analyzer */ /* - Resets the Analyzer */ /* *RST */ /* - Sets the center ..
파일 다이얼로그란, 이렇게 파일을 선택할 수 있는 다이얼로그를 말한다. //파일선택 이벤트 void Ctest::OnBnClickedBtnFileDlg() // 버튼 이벤트 { // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다. char szFilter[] = "hello(*.xls) | *.xls | All Files(*.*)|*.*||"; // 불러올 파일 확장자 등록. CFileDialog fDlg(TRUE, NULL, NULL, OFN_HIDEREADONLY, szFilter); int iRet = fDlg.DoModal(); m_strFilePath = fDlg.GetPathName(); // 파일 다이얼로그에서 파일을 더블클릭하거나, 파일을 선택하고 열기를 눌렀을 시 나타나는 이벤트..
// #### 리소스 아이디를 이용할 경우 #### // CString str; GetDlgItemText(IDC_EDIT_CONTROL, str); // str에 Edit Control의 값이 들어감 // #### 변수를 이용 할 경우 #### // [클래스명.h] // Edit Control 변수선언 CEdit m_editControl; [클래스명.cpp] void [클래스명]::DoDataExchange(CDataExchange* pDX) { ... DDX_Control(pDX, IDC_EDIT_UPLOAD_DESC, m_editControl); ... } // 실제 사용 부 CString str; m_editControl.GetWindowTextA(str); // str에 Edit Control의..
// CString 문자 추출 시 빈번하게 사용되는 Left, Mid, Right CString str; str = "helloWorld!!!"; printf("%s", str.Left(2)); // he가 출력 printf("%s", str.Mid(5, 2)); // Wo가 출력 printf("%s", str.Right(3)); // !!!가 출력 사용할 일이 많아 포스팅한다.
Code Jock의 XTToolkitPro를 처음 사용해봤다. C++도 처음, XTToolkitPro도 처음. XTToolkitPro를 사용하기 위해 사용자 환경 설정을 남긴다. XTToolkitPro는 알아서 설치하셨다는 생각으로 글을 이어나간다. 내컴퓨터 우클릭 -> 속성 -> 고급 시스템 설정 -> 고급 탭 -> 환경변수 시스템 변수 그룹의 새로만들기 클릭 변수이름 : 알아서 지정변수 값 : CodeJock의 XTToolkitPro 설치 경로 지정 Visual Studio 실행 새 프로젝트를 실행시켜 Dialog 프로젝트를 생성한다. 다이얼로그 프로젝트에 Code Jock의 XTToolkitPro Path를 지정해준다. 속성관리자를 열어준다. 속성 관리자의 위치는 VS 버전별로 다르며, 이전버전은 ..