Instructions

RIGOL Chapter 4 Programming Demos
4-20 DSG800 Programming Guide
InstrWrite(m_strInstrAddr,m_strCommand);
m_strResult.Empty();
UpdateData(false);
}
3) Read operation
void CDSG800_DEMO_VCDlg::OnRead()
{
//TODO: Add your control notification handler code here
UpdateData(true);
InstrRead(m_strInstrAddr,&m_strResult);
UpdateData(false);
}
8. Execution Results
1) Click "Connect" to find and connect the RF signal generator. If the instrument is successfully
connected, the corresponding USB VISA descriptor will be displayed in the address bar.
2) Input command in the "Command" edit box; for example, :SWE:DIR?.
3) Click "Send" to send the command.
4) Click "Read" to read the return value.
The execution results are as shown in the figure below.