From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-24-2007 11:52 PM
Solved! Go to Solution.
07-25-2007 10:09 AM
07-25-2007 11:34 AM
Make sure you have uninstalled the NI-488.2 driver. Then install the Keithley KUSB-488A driver (must be version 8.2 or higher).
The driver does give you NI Compatibility for use with LabView or LabWindows/CVI, etc. The driver will install a KEVICec Visa Passport. Make sure when communicating using Visa that you turn off the NI Visa Passport. You should then be able to communicate to instruments in LabView with the KUSB using either GPIB Read/Write or Visa Read/Write commands.
You can also see the KUSB and any connected instruments in the Visa Interactive Control utility. (Note: the KUSB will not appear in the NI Measurement & Automation Explorer
07-26-2007 12:15 PM
07-26-2007 12:57 PM
Let me first try to explain the relationship with VISA and GPIB. VISA is a high level API (application program interface) that is able to be used with GPIB, serial, Etherenet, pci, USB, etc. You use a VISA Resource Name to define the physical interface. In the case of GPIB, it is of the format GPIBx::INSTR::address. The format of the VISA Resource Name does not change if you have a Keithley, NI, Agilent, etc. GPIB controller.
It is the VISA driver that will then in turn, call the lower level 488.2 driver. If the Keithley software is installed correctly and you have done the configuration of the passport, then all you have to do is use the VISA functions on the palette you mention.
07-26-2007 01:02 PM
Yes if you are using VISA for communication, use the Instrument I/O ->VISA->Write or Read, etc. type functions. As this device handles the conversion to USB, the VISA Resource Name will still be a GPIB format resource (e.g. GPIB0::12::INSTR, for a device at GPIB address 12, using the GPIB0 card).
If you are still not talking to your device, test the connection using the CEC diagnostic: Start->All Programs->CEC488->TRTEST.exe (use the Send and Enter buttons to test writing and reading respectively).
If you have the NI Visa Interactive Control on your system (Start->All Programs->National Instruments->VISA->Visa Interactive Control) you could also open this and see if your instrument is listed on the VISA I/O tab. If your device is not listed, then it would be good to check the VISA Passports.
To check the VISA Paassports, open the NI Measurement & Automation (NI Max) utility and click on Software->NI-VISA, go to the VISA-Options tab, click on Passports and ensure the NI-VISA Passport for GPIB is marked off and the KEVICec Visa Passport for GPIB is marked on.
07-28-2007 12:34 AM
07-29-2007 09:26 PM - edited 07-29-2007 09:26 PM
It is not absolutely necessary to do a VISA Open first but it is recomended. So a basic program would look like the code below. If it does not work, you need to provide more details, such as any error codes that are generated.
Message Edited by Dennis Knutson on 07-29-2007 08:29 PM
03-18-2008 09:10 PM
03-24-2008 01:42 PM - last edited on 03-27-2008 02:24 PM by Support