Rigol DS1000Z Series Programming Manual page 172

Digital oscilloscope
Hide thumbs Also See for DS1000Z Series:
Table of Contents

Advertisement

RIGOL
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.
3-18
Chapter 3 Programming Demos
DS1000Z Programming Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds1104zDs1074zDs1104z-sDs1074z-s

Table of Contents