EasyManuals Logo

Rigol DP831A Programming Guide

Rigol DP831A
134 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #123 background imageLoading...
Page #123 background image
Chapter 4 Programming Demos RIGOL
DP800 Programming Guide 4-19
2) Write operation
void CDP800_DEMO_VCDlg::OnSend()
{
// TODO: Add your control notification handler code here
UpdateData(true);
if (m_strInstrAddr.IsEmpty())
{
MessageBox("Please connect to the instrument first!");
}
InstrWrite(m_strInstrAddr,m_strCommand);
m_strResult.Empty();
UpdateData(false);
}
3) Read operation
void CDP800_DEMO_VCDlg::OnRead()
{
// TODO: Add your control notification handler code here
UpdateData(true);
InstrRead(m_strInstrAddr,&m_strResult);
UpdateData(false);
}
8 Running results.
1) Click Connect to search for the power supply and connect it;
2) Enter the command in to the Command textbox, for example, :APPLy? CH1;
3) Click Send to send the command;
4) Click Read to read the return value.
The running results are as shown in the figure below.

Table of Contents

Other manuals for Rigol DP831A

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol DP831A Specifications

General IconGeneral
BrandRigol
ModelDP831A
CategoryPower Supply
LanguageEnglish

Related product manuals