Communicating with Keithley 2701 DMM

Updated May 3, 2018

Reported In

Software

  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW Base

Other

  • Keithley 2701 DMM

Issue Details

I have a Keithley 2701 DMM connected to my computer via Ethernet. How can I communicate with it using different versions of LabVIEW?

Solution

  1. Make sure the DMM is within the same subnet as the computer. For instructions on how to verify this, refer to the "Additional Information" section.
  2. Once you are able to ping the DMM, you can configure it in LabVIEW. There is no need to configure it in MAX since this is not a compliant instrument.
  3. Download an NI Supported Instrument Driver for the Keithley 2701 DMM from NI Instrument Driver Network (IDNet). This Instrument Driver requires NI-VISA 4.6 or newer. (If you're using LabVIEW 7.1 or older, refer to Additional Information)
  4. After installing the driver you downloaded, you can use the VIs included in the driver to communicate with your instrument.

Additional Information

How to check if my DMM is on the same subnet as the computer?

If your DMM is on the same subnet as the computer, you should be able to ping the device. To test this, open a command prompt and type ping x.x.x.x where x.x.x.x is the IP address of the DMM. If you cannot ping it, then the DMM is not in the same subnet, does not have the correct IP address, or there is no physical connection between the computer and the DMM.

You can also verify this by accessing the DMM using Internet Explorer(IE). Open an IE window and type the IP address of the DMM followed by the port 80.
Example: http:\\192.168.1.2:80
 

Instructions for LabVIEW 7.1 and older:

Open LabVIEW and create your VI using VISA commands. A screenshot of what your VI should look like is shown below.

The only thing you need to add to a normal VISA Write and VISA Read is to specify the type of commands that will be written to the DMM. To do this, put a property node between the VISA Open and the VISA Write commands and choose the Message Base Settings >> IO Protocol Property. Change the property node to Write by right-clicking on it. Create a constant and change it from Normal to Serial-TCPIP-USB/488-String. This is the type of data the Keithley DMM needs.

For the VISA Resource Name, make sure that you type the whole name. Do not use VISA Aliases.
Example: TCPIP::10.0.12.32::1394::SOCKET
 

WAS THIS ARTICLE HELPFUL?

Not Helpful