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:
Содержание DS1000E Series, DS1000D Series
Страница 1: ...RIGOL Programming Guide DS1000E DS1000D Series Digital Oscilloscope July 2009 RIGOL Technologies Inc ...
Страница 2: ......
Страница 6: ......
Страница 86: ...RIGOL Command Systems Programming Guide for DS1000E DS1000D Series 2 74 LA GROU1 SIZ The query returns SMALL ...
Страница 102: ......
Страница 129: ...Programming Guide for DS1000E DS1000D Series 3 27 After you set the Start event see the result below ...
Страница 132: ......