7. Add the variables m_combox and m_receive to the Com Box and Edit Box controls
respectively.
8. Add codes.
Double-click Send and Read to enter the programming environment. Declare the
#include <visa.h> of the VISA library in the header file and then add the following
codes:
ViSession defaultRM, vi;
char buf [256] = {0};
CString s,strTemp;
char* stringTemp;
ViChar buffer [VI_FIND_BUFLEN];
ViRsrc matches="buffer";
Programming Examples
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
135
Summary of Contents for DP2000 Series
Page 1: ......
Page 137: ...d Exit Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 129...
Page 145: ......