User`s guide

RIGOL Chapter 4 Remote Control
4-2 M300 User’s Guide
User-defined Programming
Users can select desired programming tool (such as LabVIEW, Matlab, Visual C++,
etc.), program and control M300 by using SCPI commands on the basis of NI-VISA
(National InstrumentVirtual Instrument Software Architecture).
1 Install NI-VISA Library
You need to install the VISA library of NI (download from
http://www.ni.com/visa/) on your PC. NI-VISA is an application program
interface developed by NI according to the VISA standards. You can use NI-VISA
to realize the communication between the generator and PC through instrument
buses (such as USB). VISA defines a set of software commands with which users
can control the instrument without the need to understand how the interface
bus works. For details, please refer to NI-VISA Help.
2 Build Communication between Instrument and PC
You need to build the communication between the generator and PC.
Using GPIB Interface:
Connect M300 with the PC with GPIB card installed using GPIB cable before
using the GPIB (General Purpose Interface Bus) Interface and set proper
parameters according to “To Set GPIB Address
.
Using USB Interface:
Use USB cable to connect M300 and PC. At this point, the hardware update
wizard dialog box is displayed. Then, follow the instructions to install the
USB Test and Measurement Device (IVI). The steps are as following:
1) Select “Install the software automatically (Recommended)” and click
Next”;
2) Select “Don’t search. I will choose the driver to install” and click “Next”;
3) Select “USB Test and Measurement Device” and click Next”;
4) When the installation is finished, click Finish.