EasyManuals Logo

Rigol DS1000B Series Programming Guide

Rigol DS1000B Series
152 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #138 background imageLoading...
Page #138 background image
RIGOL Programming Examples
Programming Guide for DS1000B Series
3-6
8. Add the codes.
Dblclick the Button, enter the programming environment. First of all, declare
ā€œ#include <visa.h>ā€ in header file, 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;
ViUInt32 nmatches;
ViFindList list;
viOpenDefaultRM (&defaultRM);
// acquire USB resource of visa
viFindRsrc(defaultRM, "USB?*", &list,&nmatches, matches);
viOpen (defaultRM,matches,VI_NULL,VI_NULL,&vi);
viPrintf (vi, "*RST\n");

Other manuals for Rigol DS1000B Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DS1000B Series and is the answer not in the manual?

Rigol DS1000B Series Specifications

General IconGeneral
BrandRigol
ModelDS1000B Series
CategoryTest Equipment
LanguageEnglish

Related product manuals