Vb Example - Teledyne T3DSO1000 Programming Manual

Digital oscilloscopes
Hide thumbs Also See for T3DSO1000:
Table of Contents

Advertisement

VB Example

Environment: Windows7 32-bit, Microsoft Visual Basic 6.0
Description: The function of this example: Use the NI-VISA, to control the
device with USBTMC and TCP/IP access to do a write and read.
Steps:
1.Open Visual Basic, and build a standard application program project.
2.Set the project environment to use the NI-VISA lib: Click the Existing tab
of Project>>Add Module, search the visa32.bas file in the "include" folder
under the NI-VISA installation path and add the file, as shown in the figure
below:
3. Coding:
a) USBTMC:
Private Function
' This code demonstrates sending synchronous read & write commands
Usbtmc_test()
As Long
Digital Oscilloscope Series
207

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T3dso2000

Table of Contents