Programming Guide

Digital Oscilloscopes Series
2
Catalogue
Programming Overview ...................................................... 4
Build communication ........................................................ 4
Install NI-VISA ........................................................................... 4
Connect the instrument ............................................................... 8
How To Remote Control ................................................... 9
a. User-defined Programming ..................................................... 9
b .Send SCPI Commands via NI-VISA ...................................... 9
About these Commands & Queries ................................... 10
How are they listed? ........................................................ 10
How are they described? ................................................. 10
Where can they be used? ................................................ 10
Command Notation ............................................................ 12
Table of Commands & Queries ......................................... 13
Programming Examples .................................................. 148
Example of VC++ ......................................................... 149
Example of VB.............................................................. 158
Example of MATLAB ................................................... 165
Example of LabVIEW .................................................. 168
Example of C# .............................................................. 172