Requirements For Deploying A Visa Project; Multiple Visa Dll Versions - Keysight N9000A Manual

Signal analyzers
Hide thumbs Also See for N9000A:
Table of Contents

Advertisement

Requirements for Deploying a VISA Project

The only VISA-specific system requirements for deploying your compiled programs on other machines are:
A valid visa32.DLL must be in the system's PATH environment variable.
The resource address you are trying to open must exist on the system and be configured for the visa32.DLL that is
found first during the Windows DLL search.
Additionally, you must satisfy the normal .NET requirements, such as having an appropriate version of the .NET framework
installed on the deployed systems. Obviously, any other software libraries your program uses at runtime must also be
installed.

Multiple VISA DLL Versions

Because each VISA vendor installs its version of the VISA DLL, the VISA DLL on your deployed system may differ from the
one with which you developed your application. When multiple vendors' VISA implementations are present, the DLL used
is the one that is found first using Microsoft Windows' DLL search rules.
If you developed your program using Keysight VISA, and you wish to ensure that your program uses Keysight VISA even if
other VISA implementations are on your deployed systems, you can change the DLL name in all of the method
declarations in visa32.cs or visa32.vb from "visa32.DLL" to "agvisa32.DLL". This will prevent your program from
working with any other vendor's VISA implementation, and will ensure that, if multiple VISA DLLs are installed on the
system, your program will use the Keysight DLL implementation.
Developing and Deploying VISA Projects
Requirements for Deploying a VISA Project
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

N9038aN9010aN9030aN9020a

Table of Contents