EasyManuals Logo

Rigol DS1000Z Series Programming Guide

Rigol DS1000Z Series
172 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #172 background imageLoading...
Page #172 background image
RIGOL Chapter 3 Programming Demos
3-18 DS1000Z Programming Guide
viFindRsrc(defaultRM, "USB?*", &list,&nmatches, matches);
viOpen (defaultRM,matches,VI_NULL,VI_NULL,&vi);
// 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 DS1000Z Series

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol DS1000Z Series Specifications

General IconGeneral
BrandRigol
ModelDS1000Z Series
CategoryTest Equipment
LanguageEnglish

Related product manuals