ViFind64 or ViFind Debug Utility Overview

This section contains information that applies to Windows and Linux, not Windows on ARM.

This console application (Called ViFind64 in Windows ,or ViFind in Linux) uses the viFindRsrc and viFindNext VISA functions to enumerate all resources (instruments and interfaces) that are visible to VISA. It also reports the status of all installed 64-bit VISA implementations. This application is useful for verifying that all expected interfaces have been configured and that the expected devices have been attached.

The Connection Expert window graphically shows all instruments found by the Keysight Instrument Discovery Service. Connection Expert is best suited for interactively browsing your system. Because ViFind64/ViFind is a console application, you can call it from programs or scripts.

See viFindRsrc and the Instrument Discovery Service for important information on interactions among viFindRsrc, Connection Expert, and VISA attributes.

Running ViFind64 or ViFind

To run this debugging utility, you can either:

  • Run the utility by clicking the IO Control icon , and then selecting:
    • (Windows)  Utilities > ViFind64
    • (Linux) Utilities > ViFind
  • Or, run the utility from a console window:
    • (Windows) - Typevifind64 [-hnxop] [expression]
    • (Linux) - Typevifind [-hnxop] [expression] Please note that in Linux, syntax is case sensitive.

A console window will appear with the list of VISA devices. When you press the ENTER key, the program will exit and the console window will close.

This utility does not actually communicate with devices; therefore, devices that have been manually added in Connection Expert may appear in the list even if they are not actually present.

Following is an output example. (The Windows product is shown; Linux output is the same.)

The output displays only the full VISA resource string for each device, and does not show VISA aliases.

When you run ViFind64/ViFind from an open console window, you may specify different command line options:

Usage:

  • (Windows) vifind64 [-hnxop] [expression]
  • (Linux) vifind [-hnxop] [expression]

where:

   -h  = Print this Help screen.

   -n  = Print number of matches only

   -x  = Keep calling viFindNext until failure

   -o  = Open each resource and get information about it

   -p  = Pause when done (debugging)

  You may not specify both -n and -x.

   expression = Regular expression to use. If not specified, then use ?*

Here are some command line option examples:

Windows Linux Description
ViFind64 -o
vifind -o

Opens each resource as it is found and print information about it

ViFind64 ?*INSTR
vifind ?*INSTR

Finds only VISA INSTR resources

ViFind64 -n USB?*
vifind -n USB?*

Displays the number of USB resources