How Can I Communicate With a Keithley 2701 DMM? Primary Software: Driver Software>>NI-VISAPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: GPIB
Problem: I have a Keithley DMM 2701 that connects to my computer via the Ethernet port. How can I communicate with it using LabVIEW and VISA? Solution: First make sure that the DMM is within the same subnet as the computer. If it is, you should be able to ping the 2701. To try this, open a DOS command window (Start»Run and type in "cmd"). This will open a DOS window. Then type "ping x.x.x.x” where "x.x.x.x" is the ip address of the DMM. If you cannot ping it, then it means that the DMM is not in the same subnet, or it doesn't have the correct ip address or that there is no physical connection between the computer and the DMM. If you are able to ping it, then you should be able to access the DMM using IE. Open an IE (Internet Explorer) window and type the IP address of the DMM followed by the port 80. Example: http:\\192.168.1.2:80 If you cannot access to it, then go back and check that it can be pinged. Once you are able to browse it in IE, you can configure it in LabVIEW. There is no need to configure it in MAX (Measurement and Automation Explorer) since this is not a VXI 11 compliant instrument. You would have to configure it as a raw socket instrument. The problem is that it uses port 1394 for the gpib communication and MAX will not allow opening a visa session with that port. Open LabVIEW and create your VI using the VISA commands. Attached is a screen shot of what your VI should look like. 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 you put a property node between the VISA Open and the VISA write and choose the message base settings» IO protocol property. Change it from Normal to Serial-TCPIP-USB/488-String. This is the type of data that the Keithley needs. As VISA resource name, make sure that you type the whole name. Do NOT use visa aliases. Example: TCPIP::10.0.12.32::1394::SOCKET Now you should be ready to run the VI. Related Links: Attachments:
Report Date: 07/20/2004 Last Updated: 08/13/2004 Document ID: 3BJ9HIRY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
