Rigol DS1000D User Manual Page 110

  • Download
  • Add to my manuals
  • Print
  • Page
    / 137
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 109
RIGOL
Programming Guide for DS1000E, DS1000D Series
3-6
//return the character string getting from the oscilloscope
return buffer;
}
6. Dblclick the Button and add the following codes:
unsigned char* readInfo;
CString strInput;
//char* stringTemp;
CString s,strTemp;
m_combox.GetLBText(m_combox.GetCurSel(),strTemp);
strInput = (char *)(LPCTSTR)strTemp;
SendToUSB(strInput);
readInfo = Read_USB();
//display the results
UpdateData (TRUE);
m_receive = readInfo;
UpdateData (FALSE);
7. Save, compile and run the project, you will get a single executable program
about demo. When the oscilloscope has been successfully connected with PC,
select a command “*IDN?” from Combo Box to send, then click the “Send and
Read” button, you will get the query results as the following figure:
Page view 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 136 137

Comments to this Manuals

No comments