Programming Example RIGOL
Programming Guide for DS1000CA Series
Chapter 3 Programming Example
This chapter lists some programming examples in the development environments of
Visual C++ 6.0, Visual Basic 6.0 and LabVIEW 8.6. All the examples are based on
VISA (Virtual Instrument Software Architecture).
VISA is an API (Application Programming Interface) used for controlling instruments.
It is convenient for users to develop testing applications which are independent of the
types of instrument and interface. Note that “VISA” here we mention is NI (National
Instrument)-VISA. NI-VISA is an API written by NI based on VISA standard. You can
use NI-VISA to achieve the communication between the oscilloscope and PC via USB
and RS232 and such instrument bus. As VISA has defined a set of software
commands, users can control the instrument without understanding the working
state of the interface bus. For more details, please refer to NI-VISA help.
A typical application of VISA contains the fowling parts:
1. Set up the conversation for the existing resource
2. Configure the resource (such as: Baud rate)
3. Close the conversation