목록Development Tools (43)
SPRING :: NOTE
#include #include #include #include #include "visa.h" #include ViSession defaultRM, viN9320B; ViStatus errStatus; ViChar cIdBuff[256]= {0}; char cEnter = 0; int iResult = 0; /*Set the input port to 50MHz amplitude reference*/ void Route50MHzSignal() { viQueryf(viN9320B, "*IDN?\n", "%t", &cIdBuff); /* prompt the user*/ /* to connect the amplitude reference output to the input*/ printf ("Connect C..
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 ..
Code Jock의 XTToolkitPro를 처음 사용해봤다. C++도 처음, XTToolkitPro도 처음. XTToolkitPro를 사용하기 위해 사용자 환경 설정을 남긴다. XTToolkitPro는 알아서 설치하셨다는 생각으로 글을 이어나간다. 내컴퓨터 우클릭 -> 속성 -> 고급 시스템 설정 -> 고급 탭 -> 환경변수 시스템 변수 그룹의 새로만들기 클릭 변수이름 : 알아서 지정변수 값 : CodeJock의 XTToolkitPro 설치 경로 지정 Visual Studio 실행 새 프로젝트를 실행시켜 Dialog 프로젝트를 생성한다. 다이얼로그 프로젝트에 Code Jock의 XTToolkitPro Path를 지정해준다. 속성관리자를 열어준다. 속성 관리자의 위치는 VS 버전별로 다르며, 이전버전은 ..
위와 같은 에러가 나와 CXTPChartControl을 사용할 수 없을 시, 다이얼로그 기준 [APP_NAME].cpp [APP_NAME]Dlg.cpp 두개 파일 중 [APP_NAME].cpp 의 InitInstance()에 AfxOleInit();을 추가해준다. BOOL [AppName]APP::InitInstance() { // Initialize OLE to use XML resources. AfxOleInit(); // add line CWinApp::InitInstance(); } 이유는 모르겠으나... 이 문제로 장장 8시간동안 삽질을 했다.