EasyManua.ls Logo

Rohde & Schwarz FSV40 - Page 155

Rohde & Schwarz FSV40
199 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Controlling the R&S FSVA/FSV Remotely
R&S
®
FSVA/FSV
140Quick Start Guide 1321.3066.02 ─ 06
8.3.1.1 Linking the Remote Control Library for Visual Basic
Programming notes:
Outputting text using the print function
Using the print method, this example displays the value of the variable MyVar
in the "Immediate" window of the Visual Basic development environment.
Note that the print method only applies to objects that can display text.
Debug.Print MyVar
Accessing the functions of the VISA32.DLL
To enable users to create Visual Basic control applications, the VISA32.BAS
file must be added to a project so that functions of the VISA32.DLL can be
called. In addition, the VPPTYPE.BAS file must be added to the project. This
file contains constants and definitions for error handling, timeout values, etc.
The modules visa32.bas and vpptype.bas can be found under
<VXIpnpPath>\WinNT\include (typically C:\VXIpnp\WinNt\include).
As an alternative, a reference to the VISA32.DLL can be added to the proj-
ect.
Creating a response buffer
Brief Introduction to Remote Control

Table of Contents

Related product manuals