EasyManuals Logo

Rigol 2000 Series Programming Guide

Rigol 2000 Series
376 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #376 background imageLoading...
Page #376 background image
RIGOL 3 Programming Demos
3-18 MSO2000A/DS2000A Programming Guide
ViFindList list;
viOpenDefaultRM (&defaultRM);
// Acquire the USB resource of visa
viFindRsrc(defaultRM, "USB?*", &list,&nmatches, matches);
viOpen (defaultRM,matches,VI_NULL,VI_NULL,&vi);
viPrintf (vi, "*RST\n");
// Send the command received
m_combox.GetLBText(m_combox.GetCurSel(),strTemp);
strTemp = strTemp + "\n";
stringTemp = (char *)(LPCTSTR)strTemp;
viPrintf (vi,stringTemp);
// Read the result
viScanf (vi, "%t\n", &buf);
// Display the result
UpdateData (TRUE);
m_receive = buf;
UpdateData (FALSE);
viClose (vi);
viClose (defaultRM);
9. Save, compile and run the project and a single exe file can be obtained. When the oscilloscope is
correctly connected to the PC, you can select the command *IDN? and click Send and Read to
display the return result of the oscilloscope.

Table of Contents

Other manuals for Rigol 2000 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol 2000 Series Specifications

General IconGeneral
BrandRigol
Model2000 Series
CategoryTest Equipment
LanguageEnglish

Related product manuals