deploying_your_project

Agilent VISA.NET

deploying_your_project

The only system requirements (specific to VISA) 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.

These requirements refer only to what VISA requires to work.  You will still have to satisfy the normal .NET requirements, such as having the .NET framework installed on the deployed systems.  Obviously, any other software libraries your program uses at runtime must be installed as well.

Because each VISA vendor installs its version of the VISA DLL, you may have a different VISA DLL being used on your deployed system than 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 Agilent VISA, and you wish your program to use Agilent VISA no matter what 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 company's VISA implementation, and will direct your program to use the Agilent DLL if multiple VISA DLL's are installed on the system.