Labview Programming Example - Rigol DS7034 User Programming Manual

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 3 Programming Examples

LabVIEW Programming Example

Program used in this instance: LabVIEW2010
Function realized in this example: read the waveform data of CH1 on the screen.
1.
Run LabVIEW, create a VI file and name it as MSO7000_Demo.
2.
Add controls and create the front panel as shown in the figure below.
3.
Open the Block Diagram interface. Click Instrument I/O  VISA. Add the following functions:
VISA Open, VISA Read, VISA Write, and VISA Close.
4.
Connect the VISA resource name with the VISA Open. Then, connect the VISA resource name
outputs of all the functions with the VISA resource name and connect the error output with the
error input, as shown in the figure below.
5.
Add string constant in the write buffer areas of the VISA Write function and input the following
instructions in the figure below. Waveform data is read through the VISA Read function which requires
users to input the total number of bytes to be read. In this example, the total number of bytes of
waveform data to be read is less than 2048. Use the VISA Close function to close the VISA resource
after the VISA operation is finished.
MSO7000/DS7000 Programming Guide
RIGOL
3-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents